Searched refs:bias_min (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/core/kernels/ |
D | quantized_bias_add_op_test.cc | 61 const float bias_min = 0.0f; in TEST_F() local 67 FloatTensorToQuantized<quint8>(bias_float, bias_min, bias_max); in TEST_F() 79 AddInputFromArray<float>(TensorShape({1}), {bias_min}); in TEST_F() 121 const float bias_min = -0.739539f; in TEST_F() local 139 FloatTensorToQuantized<quint8>(bias_float, bias_min, bias_max); in TEST_F() 161 AddInputFromArray<float>(TensorShape({1}), {bias_min}); in TEST_F()
|
D | quantized_bias_add_op.cc | 43 const float bias_min = context->input(4).flat<float>()(0); in Compute() local 71 GetOutputMinAndMaxForQuantizedAdd(input_min, input_max, bias_min, 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 | 100 float input_min, float input_max, float bias_min,
|
D | meta_support.cc | 348 float input_min, float input_max, float bias_min, in QuantizedBiasAdd() argument 364 params.kernel.bias_range_min = bias_min; in QuantizedBiasAdd() 368 CalculateRangeScale<uint8_t>(bias_min, bias_max); in QuantizedBiasAdd()
|
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/ |
D | conv_2d_helpers.cc | 86 TfLiteContext* context, float* bias_min, float* bias_max, in ProcessPerChannelQuantizedBias() argument 117 *bias_min = -1 * *bias_max; in ProcessPerChannelQuantizedBias() 257 float bias_min = 0; in InitializeBiasNodes() local 260 ProcessPerChannelQuantizedBias(inputs, outputs, context, &bias_min, in InitializeBiasNodes() 269 ComputeMinAndMaxQuantValues(bias_tensor, &bias_min, &bias_max)); in InitializeBiasNodes() 273 quant_bound_shape.data(), reinterpret_cast<char*>(&bias_min), in InitializeBiasNodes() 274 sizeof(bias_min)); in InitializeBiasNodes()
|
D | transpose_conv_2d_builder.cc | 148 float bias_min = 0; in PopulateSubGraph() local 151 ProcessPerChannelQuantizedBias(inputs, outputs, context, &bias_min, in PopulateSubGraph() 158 ComputeMinAndMaxQuantValues(bias_tensor, &bias_min, &bias_max)); in PopulateSubGraph() 162 kScalarShape, reinterpret_cast<char*>(&bias_min), sizeof(bias_min)); in PopulateSubGraph()
|
D | matmul_builder.cc | 94 float bias_min, bias_max; in AddFullyConnectedHelper() local 95 OpBuilder::ComputeMinAndMaxQuantValues(bias_tensor, &bias_min, &bias_max); in AddFullyConnectedHelper() 97 scalar_shape, reinterpret_cast<char*>(&bias_min), sizeof(bias_min)); in AddFullyConnectedHelper()
|
D | conv_2d_builder.h | 93 TfLiteContext* context, float* bias_min, float* bias_max,
|