Searched refs:weight_scale (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/lite/micro/ |
D | testing_helpers_test.cc | 23 float weight_scale = 0.5; in TF_LITE_MICRO_TEST() local 33 pre_quantized, quantized, dims, input_scale, weight_scale); in TF_LITE_MICRO_TEST() 37 TF_LITE_MICRO_EXPECT_EQ(result.params.scale, input_scale * weight_scale); in TF_LITE_MICRO_TEST()
|
/external/libavc/common/ |
D | ih264_trans_macros.h | 98 #define INV_QUANT(i4_value, quant_scale, weight_scale, u4_qp_div_6, rndfactor, qbits)\ argument 101 i4_value *= weight_scale;\
|
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/ |
D | legalize_utils.cc | 97 double weight_scale = weight_per_tensor_qtype.getScale(); in buildRescaleOpConvOutput() local 102 double op_tensor_scale = (input_scale * weight_scale) / output_scale; in buildRescaleOpConvOutput() 134 double weight_scale = weight_scale_arr[oc]; in buildRescaleOpConvOutput() local 139 double op_channel_scale = (input_scale * weight_scale) / output_scale; in buildRescaleOpConvOutput()
|
/external/tensorflow/tensorflow/lite/tools/optimize/ |
D | quantization_utils_test.cc | 686 const float weight_scale = 0.5; in TEST_F() local 706 input_scale * weight_scale, &error_reporter_), in TEST_F() 710 weight_scale * input_scale); in TEST_F() 728 const float weight_scale = 0.5; in TEST_F() local 747 input_scale * weight_scale, &error_reporter_), in TEST_F() 751 weight_scale * input_scale); in TEST_F()
|