/external/ComputeLibrary/src/core/CL/cl_kernels/ |
D | helpers_asymm.h | 49 float out_f32 = input / scale + offset; in quantize_qasymm8() local 50 uchar res_u8 = CONVERT_SAT(CONVERT_DOWN_RTE(out_f32, int), uchar); in quantize_qasymm8() 91 …out_f32 = input / (VEC_DATA_TYPE(float, size))(scale) + (VEC_DATA_TYPE(float, size))(offset); … 93 …res = CONVERT_SAT(CONVERT_DOWN_RTE(out_f32, VEC_DATA_TYPE(int, size)), VEC_DATA_TYPE(type, size));…
|
/external/ComputeLibrary/src/core/CL/cl_kernels/nhwc/ |
D | pooling_layer_quantized.cl | 37 …const VEC_FLOAT(VEC_SIZE) out_f32 = in_f32 / ((VEC_FLOAT(VEC_SIZE))(float)out_scale) + ((VEC_FLOAT… 38 …res = CONVERT_SAT(CONVERT_DOWN(out_f32, VEC_INT(VEC_SIZE)), VEC_TYPE…
|
D | pooling_3d_layer_quantized.cl | 47 …const VEC_FLOAT(VEC_SIZE) out_f32 = in_f32 / ((VEC_FLOAT(VEC_SIZE))(float)out_scale) + ((VEC_FLOAT… 48 …res = CONVERT_SAT(CONVERT_DOWN(out_f32, VEC_INT(VEC_SIZE)), VEC_DATA…
|
/external/ComputeLibrary/src/core/CL/cl_kernels/nchw/ |
D | pooling_layer.cl | 194 const float out_f32 = in_f32 / scale_out + offset_out; 195 result_q8 = CONVERT_SAT(convert_int_rte(out_f32), DATA_TYPE);
|
/external/ComputeLibrary/cl_kernels/ |
D | helpers_asymm.hembed | 1257 float out_f32 = input / scale + offset; 1258 uchar res_u8 = CONVERT_SAT(CONVERT_DOWN_RTE(out_f32, int), uchar); 1279 …out_f32 = input / (VEC_DATA_TYPE(float, size))(scale) + (VEC_DATA_TYPE(float, size))(offset); … 1281 …res = CONVERT_SAT(CONVERT_DOWN_RTE(out_f32, VEC_DATA_TYPE(int, size)), VEC_DATA_TYPE(type, size));…
|
/external/ComputeLibrary/cl_kernels/common/ |
D | bounding_box_transform_quantized.clembed | 1258 float out_f32 = input / scale + offset; 1259 uchar res_u8 = CONVERT_SAT(CONVERT_DOWN_RTE(out_f32, int), uchar); 1280 …out_f32 = input / (VEC_DATA_TYPE(float, size))(scale) + (VEC_DATA_TYPE(float, size))(offset); … 1282 …res = CONVERT_SAT(CONVERT_DOWN_RTE(out_f32, VEC_DATA_TYPE(int, size)), VEC_DATA_TYPE(type, size));…
|
D | roi_align_layer_quantized.clembed | 1258 float out_f32 = input / scale + offset; 1259 uchar res_u8 = CONVERT_SAT(CONVERT_DOWN_RTE(out_f32, int), uchar); 1280 …out_f32 = input / (VEC_DATA_TYPE(float, size))(scale) + (VEC_DATA_TYPE(float, size))(offset); … 1282 …res = CONVERT_SAT(CONVERT_DOWN_RTE(out_f32, VEC_DATA_TYPE(int, size)), VEC_DATA_TYPE(type, size));…
|
D | generate_proposals_quantized.clembed | 1258 float out_f32 = input / scale + offset; 1259 uchar res_u8 = CONVERT_SAT(CONVERT_DOWN_RTE(out_f32, int), uchar); 1280 …out_f32 = input / (VEC_DATA_TYPE(float, size))(scale) + (VEC_DATA_TYPE(float, size))(offset); … 1282 …res = CONVERT_SAT(CONVERT_DOWN_RTE(out_f32, VEC_DATA_TYPE(int, size)), VEC_DATA_TYPE(type, size));…
|
D | qlstm_layer_normalization.clembed | 1258 float out_f32 = input / scale + offset; 1259 uchar res_u8 = CONVERT_SAT(CONVERT_DOWN_RTE(out_f32, int), uchar); 1280 …out_f32 = input / (VEC_DATA_TYPE(float, size))(scale) + (VEC_DATA_TYPE(float, size))(offset); … 1282 …res = CONVERT_SAT(CONVERT_DOWN_RTE(out_f32, VEC_DATA_TYPE(int, size)), VEC_DATA_TYPE(type, size));…
|
D | softmax_layer_quantized.clembed | 1258 float out_f32 = input / scale + offset; 1259 uchar res_u8 = CONVERT_SAT(CONVERT_DOWN_RTE(out_f32, int), uchar); 1280 …out_f32 = input / (VEC_DATA_TYPE(float, size))(scale) + (VEC_DATA_TYPE(float, size))(offset); … 1282 …res = CONVERT_SAT(CONVERT_DOWN_RTE(out_f32, VEC_DATA_TYPE(int, size)), VEC_DATA_TYPE(type, size));…
|
D | roi_pooling_layer.clembed | 2502 float out_f32 = input / scale + offset; 2503 uchar res_u8 = CONVERT_SAT(CONVERT_DOWN_RTE(out_f32, int), uchar); 2524 …out_f32 = input / (VEC_DATA_TYPE(float, size))(scale) + (VEC_DATA_TYPE(float, size))(offset); … 2526 …res = CONVERT_SAT(CONVERT_DOWN_RTE(out_f32, VEC_DATA_TYPE(int, size)), VEC_DATA_TYPE(type, size));…
|
D | reduction_operation.clembed | 2502 float out_f32 = input / scale + offset; 2503 uchar res_u8 = CONVERT_SAT(CONVERT_DOWN_RTE(out_f32, int), uchar); 2524 …out_f32 = input / (VEC_DATA_TYPE(float, size))(scale) + (VEC_DATA_TYPE(float, size))(offset); … 2526 …res = CONVERT_SAT(CONVERT_DOWN_RTE(out_f32, VEC_DATA_TYPE(int, size)), VEC_DATA_TYPE(type, size));…
|
D | concatenate.clembed | 1258 …const VEC_FLOAT out_f32 = in_f32 / ((VEC_FLOAT)(float)out_scale) + ((VEC_FLOAT)((float)out_offset)… 1259 const VEC_QUANT res_q8 = CONVERT_SAT(CONVERT_DOWN(out_f32, VEC_INT), VEC_QUANT);
|
D | gemmlowp.clembed | 5051 float out_f32 = input / scale + offset; 5052 uchar res_u8 = CONVERT_SAT(CONVERT_DOWN_RTE(out_f32, int), uchar); 5073 …out_f32 = input / (VEC_DATA_TYPE(float, size))(scale) + (VEC_DATA_TYPE(float, size))(offset); … 5075 …res = CONVERT_SAT(CONVERT_DOWN_RTE(out_f32, VEC_DATA_TYPE(int, size)), VEC_DATA_TYPE(type, size));…
|
/external/ComputeLibrary/src/core/CL/cl_kernels/common/ |
D | concatenate.cl | 37 …const VEC_FLOAT out_f32 = in_f32 / ((VEC_FLOAT)(float)out_scale) + ((VEC_FLOAT)((float)out_offset)… 38 const VEC_QUANT res_q8 = CONVERT_SAT(CONVERT_DOWN(out_f32, VEC_INT), VEC_QUANT);
|
/external/tensorflow/tensorflow/python/ops/ |
D | math_ops_test.py | 54 out_f32 = self.evaluate(math_ops.reduce_sum(in_f32)) 56 expected = math_ops.cast(out_f32, dtypes.bfloat16)
|
/external/ComputeLibrary/cl_kernels/nhwc/ |
D | pooling_layer_quantized.clembed | 1258 …const VEC_FLOAT(VEC_SIZE) out_f32 = in_f32 / ((VEC_FLOAT(VEC_SIZE))(float)out_scale) + ((VEC_FLOAT… 1259 …res = CONVERT_SAT(CONVERT_DOWN(out_f32, VEC_INT(VEC_SIZE)), VEC_TYPE…
|
D | pooling_3d_layer_quantized.clembed | 2131 …const VEC_FLOAT(VEC_SIZE) out_f32 = in_f32 / ((VEC_FLOAT(VEC_SIZE))(float)out_scale) + ((VEC_FLOAT… 2132 …res = CONVERT_SAT(CONVERT_DOWN(out_f32, VEC_INT(VEC_SIZE)), VEC_DATA…
|
D | direct_convolution.clembed | 3804 float out_f32 = input / scale + offset; 3805 uchar res_u8 = CONVERT_SAT(CONVERT_DOWN_RTE(out_f32, int), uchar); 3826 …out_f32 = input / (VEC_DATA_TYPE(float, size))(scale) + (VEC_DATA_TYPE(float, size))(offset); … 3828 …res = CONVERT_SAT(CONVERT_DOWN_RTE(out_f32, VEC_DATA_TYPE(int, size)), VEC_DATA_TYPE(type, size));…
|
/external/ComputeLibrary/cl_kernels/nchw/ |
D | direct_convolution.clembed | 2502 float out_f32 = input / scale + offset; 2503 uchar res_u8 = CONVERT_SAT(CONVERT_DOWN_RTE(out_f32, int), uchar); 2524 …out_f32 = input / (VEC_DATA_TYPE(float, size))(scale) + (VEC_DATA_TYPE(float, size))(offset); … 2526 …res = CONVERT_SAT(CONVERT_DOWN_RTE(out_f32, VEC_DATA_TYPE(int, size)), VEC_DATA_TYPE(type, size));…
|
D | pooling_layer.clembed | 1388 const float out_f32 = in_f32 / scale_out + offset_out; 1389 result_q8 = CONVERT_SAT(convert_int_rte(out_f32), DATA_TYPE);
|