| 782 | } |
| 783 | |
| 784 | bool HaveSameMinMax(const Array& lhs_array, const Array& rhs_array) { |
| 785 | if (lhs_array.minmax || rhs_array.minmax) { |
| 786 | if (!lhs_array.minmax || !rhs_array.minmax) { |
| 787 | return false; |
| 788 | } |
| 789 | if (!(*lhs_array.minmax == *rhs_array.minmax)) { |
| 790 | return false; |
| 791 | } |
| 792 | } |
| 793 | return true; |
| 794 | } |
| 795 | |
| 796 | bool HaveSameQuantizationParams(const Array& lhs_array, |
| 797 | const Array& rhs_array) { |
no outgoing calls
no test coverage detected