Home
last modified time | relevance | path

Searched refs:bias_min (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dquantized_bias_add_op_test.cc61 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()
Dquantized_bias_add_op.cc43 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()
Dmeta_support.h100 float input_min, float input_max, float bias_min,
Dmeta_support.cc348 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/
Dconv_2d_helpers.cc86 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()
Dtranspose_conv_2d_builder.cc148 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()
Dmatmul_builder.cc94 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()
Dconv_2d_builder.h93 TfLiteContext* context, float* bias_min, float* bias_max,