MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / HaveSameMinMax

Function HaveSameMinMax

tensorflow/lite/toco/tooling_util.cc:784–794  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

782}
783
784bool 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
796bool HaveSameQuantizationParams(const Array& lhs_array,
797 const Array& rhs_array) {

Callers 1

CompareConstantArraysFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected