Searched refs:bias_scale (Results 1 – 9 of 9) sorted by relevance
/external/tensorflow/tensorflow/lite/kernels/ |
D | depthwise_conv_test.cc | 61 std::vector<float> bias_scale( in BaseDepthwiseConvolutionOpModel() local 67 bias_scale[i] = in BaseDepthwiseConvolutionOpModel() 78 /*per_channel_scale=*/bias_scale, in BaseDepthwiseConvolutionOpModel() 84 auto bias_scale = GetScale(input_) * GetScale(filter_); in BaseDepthwiseConvolutionOpModel() local 85 TensorData bias{TensorType_INT32, {bias_size}, 0, 0, bias_scale}; in BaseDepthwiseConvolutionOpModel()
|
D | kernel_util.cc | 113 const double bias_scale = bias->params.scale; in GetQuantizedConvolutionMultipler() local 118 TF_LITE_ENSURE(context, std::abs(input_product_scale - bias_scale) <= in GetQuantizedConvolutionMultipler() 119 1e-6 * std::min(input_product_scale, bias_scale)); in GetQuantizedConvolutionMultipler()
|
D | conv_test.cc | 63 std::vector<float> bias_scale( in BaseConvolutionOpModel() local 69 bias_scale[i] = in BaseConvolutionOpModel() 80 /*per_channel_scale=*/bias_scale, in BaseConvolutionOpModel() 86 auto bias_scale = GetScale(input_) * GetScale(filter_); in BaseConvolutionOpModel() local 87 TensorData bias{TensorType_INT32, {bias_size}, 0, 0, bias_scale}; in BaseConvolutionOpModel()
|
D | fully_connected_test.cc | 162 auto bias_scale = GetScale(input_) * GetScale(weights_); local 163 TensorData bias{TensorType_INT32, {units_}, 0, 0, bias_scale};
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | fuse_quantized_convolution.cc | 194 float bias_scale = 255.0 * 127.0 / in FuseQuantizedConvolutionAndRequantize() local 199 p_bias_int32[n] = (int32_t) (p_bias_float[n] * bias_scale); in FuseQuantizedConvolutionAndRequantize()
|
/external/tensorflow/tensorflow/contrib/fused_conv/python/ops/ |
D | fused_conv2d_bias_activation_op_test_base.py | 869 bias_scale = test_param["bias_scale"] 907 minval=-10 * bias_scale, 908 maxval=20 * bias_scale,
|
/external/tensorflow/tensorflow/lite/delegates/nnapi/ |
D | nnapi_delegate_test.cc | 282 auto bias_scale = GetScale(input_) * GetScale(filter_); in ConvolutionOpModel() local 283 TensorData bias{TensorType_INT32, {bias_size}, 0, 0, bias_scale}; in ConvolutionOpModel() 461 auto bias_scale = GetScale(input_) * GetScale(filter_); in DepthwiseConvolutionOpModel() local 462 TensorData bias{TensorType_INT32, {bias_size}, 0, 0, bias_scale}; in DepthwiseConvolutionOpModel() 542 auto bias_scale = GetScale(input_) * GetScale(weights_); in FullyConnectedOpModel() local 543 TensorData bias{TensorType_INT32, {units}, 0, 0, bias_scale}; in FullyConnectedOpModel()
|
/external/tensorflow/tensorflow/lite/tools/optimize/ |
D | subgraph_quantizer_test.cc | 133 const float bias_scale = in TEST() local 135 auto dequantized_value = bias_values[i] * bias_scale; in TEST()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | mkl_conv_ops.cc | 1647 float bias_scale = 255.0 * 127.0 / in GetBiasHandle() local 1651 scales.push_back(bias_scale); in GetBiasHandle()
|