/external/tensorflow/tensorflow/core/kernels/ |
D | quantized_activation_ops_test.cc | 49 Tensor input_float(DT_FLOAT, {input_height, input_width}); in TEST_F() local 50 test::FillValues<float>(&input_float, {-100, -1, 0, 1, 3, 6, 7, 100}); in TEST_F() 52 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); in TEST_F() 80 Tensor input_float(DT_FLOAT, {input_height, input_width}); in TEST_F() local 81 test::FillValues<float>(&input_float, {-100, -1, 0, 1, 3, 6, 7, 100}); in TEST_F() 83 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); in TEST_F()
|
D | quantized_pooling_ops_test.cc | 56 Tensor input_float(DT_FLOAT, {1, input_height, input_width, input_channels}); in TEST_F() local 58 &input_float, in TEST_F() 62 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); in TEST_F() 101 Tensor input_float(DT_FLOAT, {1, input_height, input_width, input_channels}); in TEST_F() local 103 &input_float, in TEST_F() 107 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); in TEST_F()
|
D | quantized_bias_add_op_test.cc | 55 Tensor input_float(DT_FLOAT, {input_height, input_width}); in TEST_F() local 56 test::FillValues<float>(&input_float, in TEST_F() 59 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); in TEST_F() 105 Tensor input_float(DT_FLOAT, {input_height, input_width}); in TEST_F() local 107 &input_float, in TEST_F() 119 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); in TEST_F()
|
D | quantized_batch_norm_op_test.cc | 66 Tensor input_float(DT_FLOAT, in TEST_F() local 68 test::FillValues<float>(&input_float, in TEST_F() 71 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); in TEST_F() 163 Tensor input_float(DT_FLOAT, in TEST_F() local 165 test::FillValues<float>(&input_float, in TEST_F() 168 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); in TEST_F() 221 const Tensor& const_input_float = input_float; in TEST_F()
|
D | quantization_utils.h | 229 const float input_float = QuantizedToFloat<T1>(input, min_input, max_input); in RequantizeInNewRange() local 230 return FloatToQuantized<T2>(input_float, min_new, max_new); in RequantizeInNewRange() 239 const float input_float = in RequantizeManyInNewRange() local 241 output[index] = FloatToQuantized<T2>(input_float, min_output, max_output); in RequantizeManyInNewRange() 683 auto input_float = DEQUANTIZE_WITH_EIGEN(input_array, q2f); in RequantizeManyInNewRangeUsingEigen() local 685 auto input_requantized = QUANTIZE_WITH_EIGEN(input_float, f2q, T2); in RequantizeManyInNewRangeUsingEigen() 845 auto input_float = DEQUANTIZE_WITH_EIGEN(input_flat, input_q2f); in QuantizedAddUsingEigen() local 846 auto input_in_total_space = QUANTIZE_WITH_EIGEN(input_float, f2q, T3); in QuantizedAddUsingEigen()
|
D | quantized_concat_op.cc | 53 auto input_float = DEQUANTIZE_WITH_EIGEN(input_array, q2f); in Copy() local 55 auto input_requantized = QUANTIZE_WITH_EIGEN(input_float, f2q, T); in Copy()
|
/external/tensorflow/tensorflow/core/kernels/mkl/ |
D | mkl_quantized_pooling_ops_test.cc | 86 Tensor input_float(DT_FLOAT, {1, input_height, input_width, input_channels}); in TEST_F() local 88 &input_float, in TEST_F() 92 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); in TEST_F() 155 Tensor input_float(DT_FLOAT, {1, input_height, input_width, input_channels}); in TEST_F() local 157 &input_float, in TEST_F() 161 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); in TEST_F()
|
D | mkl_concat_op.cc | 75 auto input_float = DEQUANTIZE_WITH_EIGEN(input_array, q2f); in Copy() local 80 output_array = QUANTIZE_WITH_EIGEN(input_float, f2q, T); in Copy()
|
/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | reshape_test.cc | 236 const float input_float[] = {1, 2, 3, 4, 5, 6, 7, 8}; in TF_LITE_MICRO_TEST() local 248 tflite::testing::TestReshape(input_dims, input_float, shape_dims, shape_int32, in TF_LITE_MICRO_TEST() 268 const float input_float[] = {1, 2, 3, 4, 5, 6, 7, 8}; in TF_LITE_MICRO_TEST() local 280 tflite::testing::TestReshape(input_dims, input_float, shape_dims, shape_int32, in TF_LITE_MICRO_TEST() 300 const float input_float[] = {3}; in TF_LITE_MICRO_TEST() local 312 tflite::testing::TestReshape(input_dims, input_float, shape_dims, shape_int32, in TF_LITE_MICRO_TEST()
|
/external/gemmlowp/meta/ |
D | test_transform_correctness.cc | 151 float input_float = static_cast<float>(input); in verify_biasadd() local 152 input_float -= params.kernel.input_range_offset; in verify_biasadd() 153 input_float *= params.kernel.input_range_scale; in verify_biasadd() 154 input_float += params.kernel.input_range_min; in verify_biasadd() 159 float sum = input_float + bias_float; in verify_biasadd()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | increase_dynamism_for_auto_jit_pass_test.cc | 369 Output input_float = in TEST() local 382 root.WithOpName("slice_with_slice_begin"), input_float, begin, size); in TEST()
|