Searched refs:image_max (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/core/kernels/ |
D | summary_image_op.cc | 202 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()
|
D | quantized_conv_ops_test.cc | 64 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({}), {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({}), {image_max}); in TEST_F()
|
/external/tensorflow/tensorflow/core/kernels/mkl/ |
D | mkl_quantized_conv_ops_perchannel_test.cc | 70 const float image_max = 255.0f; in TEST_F() local 82 FloatTensorToQuantized<quint8>(image_float, image_min, image_max); in TEST_F() 113 AddInputFromArray<float>(TensorShape({1}), {image_max}); in TEST_F()
|
D | mkl_quantized_conv_ops_test.cc | 138 const float image_max = 255.0f; in TEST_F() local 149 FloatTensorToQuantized<quint8>(image_float, image_min, image_max); in TEST_F() 173 AddInputFromArray<float>(TensorShape({1}), {image_max}); in TEST_F() 225 const float image_max = 127.0f; in TEST_F() local 250 FloatTensorToQuantized<qint8>(image_float, image_min, image_max); in TEST_F() 274 AddInputFromArray<float>(TensorShape({1}), {image_max}); in TEST_F()
|
/external/tensorflow/tensorflow/core/summary/ |
D | summary_converter.cc | 131 float image_max = -image_min; in NormalizeFloatImage() local 144 image_max = std::max(image_max, value); in NormalizeFloatImage() 153 const float max_val = std::max(std::abs(image_min), std::abs(image_max)); in NormalizeFloatImage() 157 scale = T(image_max < kZeroThreshold ? 0.0f : 255.0f / image_max); in NormalizeFloatImage()
|