Home
last modified time | relevance | path

Searched refs:HasMinMax (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/lite/tools/optimize/
Dmodel_utils_test.cc58 TEST(ModelUtilsTest, HasMinMax) { in TEST() argument
62 EXPECT_FALSE(HasMinMax(&tensor)); in TEST()
64 EXPECT_TRUE(HasMinMax(&tensor)); in TEST()
Dmodel_utils.h56 bool HasMinMax(const TensorT* tensor);
Dquantize_model.cc709 } else if (utils::HasMinMax(tensor)) { in QuantizeOpInput()
869 if (utils::HasMinMax(output_tensor)) { in QuantizeOpOutput()
911 if (utils::HasMinMax(tensor)) { in QuantizeIntemediateTensors()
1200 if (!utils::HasMinMax(tensor) && in FillQuantizationParams()
1228 } else if (!utils::HasMinMax(tensor) && !input.second.per_axis && in FillQuantizationParams()
1247 } else if (!utils::HasMinMax(tensor) && in FillQuantizationParams()
1330 if (!utils::HasMinMax(input_tensor)) { in EnsureBiasScaleCompatibility()
1351 if (!utils::HasMinMax(weight_tensor)) { in EnsureBiasScaleCompatibility()
Dmodel_utils.cc127 bool HasMinMax(const TensorT* tensor) { in HasMinMax() function
Dquantization_utils.cc306 if (!HasMinMax(tensor)) { in SymmetricPerChannelQuantization()
412 if (!HasMinMax(tensor)) { in SymmetricQuantizeTensorFromMinMax()
705 } else if (HasMinMax(tensor)) { in QuantizeWeight()