Home
last modified time | relevance | path

Searched refs:image_max (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dsummary_image_op.cc202 float image_max = -image_min; in NormalizeFloatImage() local
215 image_max = std::max(image_max, value); in NormalizeFloatImage()
224 float max_val = std::max(std::abs(image_min), std::abs(image_max)); in NormalizeFloatImage()
228 scale = T(image_max < kZeroThreshold ? 0.0f : 255.0f / image_max); in NormalizeFloatImage()
Dquantized_conv_ops_test.cc64 const float image_max = 12.0f; in TEST_F() local
74 FloatTensorToQuantized<quint8>(image_float, image_min, image_max); in TEST_F()
95 AddInputFromArray<float>(TensorShape({1}), {image_max}); in TEST_F()
285 const float image_max = 12.0f; in TEST_F() local
291 FloatTensorToQuantized<quint8>(image_float, image_min, image_max); in TEST_F()
306 AddInputFromArray<float>(TensorShape({1}), {image_max}); in TEST_F()
Dmkl_quantized_conv_ops_test.cc113 const float image_max = 255.0f; in TEST_F() local
124 FloatTensorToQuantized<quint8>(image_float, image_min, image_max); in TEST_F()
148 AddInputFromArray<float>(TensorShape({1}), {image_max}); in TEST_F()
/external/tensorflow/tensorflow/core/summary/
Dsummary_converter.cc130 float image_max = -image_min; in NormalizeFloatImage() local
143 image_max = std::max(image_max, value); in NormalizeFloatImage()
152 const float max_val = std::max(std::abs(image_min), std::abs(image_max)); in NormalizeFloatImage()
156 scale = T(image_max < kZeroThreshold ? 0.0f : 255.0f / image_max); in NormalizeFloatImage()