Searched refs:image_min (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/core/kernels/ |
D | summary_image_op.cc | 201 float image_min = std::numeric_limits<float>::infinity(); in NormalizeFloatImage() local 202 float image_max = -image_min; in NormalizeFloatImage() 214 image_min = std::min(image_min, value); in NormalizeFloatImage() 223 if (image_min < 0) { in NormalizeFloatImage() 224 float max_val = std::max(std::abs(image_min), std::abs(image_max)); in NormalizeFloatImage()
|
D | quantized_conv_ops_test.cc | 63 const float image_min = 0.0f; in TEST_F() local 74 FloatTensorToQuantized<quint8>(image_float, image_min, image_max); in TEST_F() 94 AddInputFromArray<float>(TensorShape({1}), {image_min}); in TEST_F() 284 const float image_min = 1.0f; in TEST_F() local 291 FloatTensorToQuantized<quint8>(image_float, image_min, image_max); in TEST_F() 305 AddInputFromArray<float>(TensorShape({1}), {image_min}); in TEST_F()
|
D | mkl_quantized_conv_ops_test.cc | 112 const float image_min = 0.0f; in TEST_F() local 124 FloatTensorToQuantized<quint8>(image_float, image_min, image_max); in TEST_F() 147 AddInputFromArray<float>(TensorShape({1}), {image_min}); in TEST_F()
|
/external/tensorflow/tensorflow/core/summary/ |
D | summary_converter.cc | 129 float image_min = std::numeric_limits<float>::infinity(); in NormalizeFloatImage() local 130 float image_max = -image_min; in NormalizeFloatImage() 142 image_min = std::min(image_min, value); in NormalizeFloatImage() 151 if (image_min < 0) { in NormalizeFloatImage() 152 const float max_val = std::max(std::abs(image_min), std::abs(image_max)); in NormalizeFloatImage()
|