/external/tensorflow/tensorflow/lite/experimental/micro/kernels/ |
D | depthwise_conv_test.cc | 114 std::initializer_list<int32_t> bias_data, float bias_min, float bias_max, in TestDepthwiseConvQuantized() argument 133 bias_max), in TestDepthwiseConvQuantized() 233 const float bias_max = 64.0f * (1 << 24); in TF_LITE_MICRO_TEST() local 281 F2Q32(1, bias_min, bias_max), in TF_LITE_MICRO_TEST() 282 F2Q32(2, bias_min, bias_max), in TF_LITE_MICRO_TEST() 283 F2Q32(3, bias_min, bias_max), in TF_LITE_MICRO_TEST() 284 F2Q32(4, bias_min, bias_max), in TF_LITE_MICRO_TEST() 286 bias_min, bias_max, // Bias quantization range. in TF_LITE_MICRO_TEST() 341 const float bias_max = 64.0f * (1 << 24); in TF_LITE_MICRO_TEST() local 389 F2Q32(1, bias_min, bias_max), in TF_LITE_MICRO_TEST() [all …]
|
D | fully_connected_test.cc | 107 std::initializer_list<int32_t> bias_data, float bias_min, float bias_max, in TestFullyConnectedQuantized() argument 126 bias_max), in TestFullyConnectedQuantized() 271 const float bias_max = 64.0f * (1 << 24); in TF_LITE_MICRO_TEST() local 314 F2Q32(1, bias_min, bias_max), in TF_LITE_MICRO_TEST() 315 F2Q32(2, bias_min, bias_max), in TF_LITE_MICRO_TEST() 316 F2Q32(3, bias_min, bias_max), in TF_LITE_MICRO_TEST() 318 bias_min, bias_max, // Bias quantization range. in TF_LITE_MICRO_TEST() 342 const float bias_max = 64.0f * (1 << 24); in TF_LITE_MICRO_TEST() local 385 F2Q32(1, bias_min, bias_max), in TF_LITE_MICRO_TEST() 386 F2Q32(0, bias_min, bias_max), in TF_LITE_MICRO_TEST() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | quantized_bias_add_op_test.cc | 62 const float bias_max = 3.0f; in TEST_F() local 67 FloatTensorToQuantized<quint8>(bias_float, bias_min, bias_max); in TEST_F() 80 AddInputFromArray<float>(TensorShape({1}), {bias_max}); in TEST_F() 122 const float bias_max = 0.641057f; in TEST_F() local 139 FloatTensorToQuantized<quint8>(bias_float, bias_min, bias_max); in TEST_F() 162 AddInputFromArray<float>(TensorShape({1}), {bias_max}); in TEST_F()
|
D | quantized_bias_add_op.cc | 44 const float bias_max = context->input(5).flat<float>()(0); in Compute() local 72 bias_max, &total_min, &total_max); in Compute() 76 bias_min, bias_max, total_min, total_max, in Compute() 81 input_max, bias, bias_min, bias_max, output, &total_min, &total_max); in Compute()
|
D | meta_support.h | 101 float bias_max, float output_min, float output_max,
|
D | meta_support.cc | 349 float bias_max, float output_min, float output_max, in QuantizedBiasAdd() argument 368 CalculateRangeScale<uint8_t>(bias_min, bias_max); in QuantizedBiasAdd()
|