Home
last modified time | relevance | path

Searched refs:weight_scale (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/lite/micro/
Dtesting_helpers_test.cc23 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/
Dih264_trans_macros.h98 #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/
Dlegalize_utils.cc97 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/
Dquantization_utils_test.cc686 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()