/external/libaom/libaom/aom_dsp/x86/ |
D | sad_highbd_avx2.c | 220 const int left_shift = 2; in aom_highbd_sad32x16_avx2() local 225 srcp += src_stride << left_shift; in aom_highbd_sad32x16_avx2() 226 refp += ref_stride << left_shift; in aom_highbd_sad32x16_avx2() 343 const int left_shift = 1; in aom_highbd_sad64x32_avx2() local 348 srcp += src_stride << left_shift; in aom_highbd_sad64x32_avx2() 349 refp += ref_stride << left_shift; in aom_highbd_sad64x32_avx2() 544 const int left_shift = 3; in aom_highbd_sad16x16_avg_avx2() local 547 src += src_stride << left_shift; in aom_highbd_sad16x16_avg_avx2() 548 ref += ref_stride << left_shift; in aom_highbd_sad16x16_avg_avx2() 549 second_pred += 16 << left_shift; in aom_highbd_sad16x16_avg_avx2() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | quantization_util.cc | 80 int* left_shift) { in QuantizeMultiplierGreaterThanOne() argument 82 QuantizeMultiplier(double_multiplier, quantized_multiplier, left_shift); in QuantizeMultiplierGreaterThanOne() 83 TFLITE_CHECK_GE(*left_shift, 0); in QuantizeMultiplierGreaterThanOne() 88 int* left_shift) { in QuantizeMultiplierSmallerThanOneExp() argument 94 *left_shift = shift; in QuantizeMultiplierSmallerThanOneExp() 256 int32_t* quantized_multiplier, int* left_shift) { in PreprocessSoftmaxScaling() argument 282 quantized_multiplier, left_shift); in PreprocessSoftmaxScaling() 288 int* left_shift, in PreprocessLogSoftmaxScalingExp() argument 292 quantized_multiplier, left_shift); in PreprocessLogSoftmaxScalingExp() 296 (1 << (31 - *left_shift)) / static_cast<double>(*quantized_multiplier); in PreprocessLogSoftmaxScalingExp()
|
D | quantization_util.h | 178 int* left_shift); 186 int* left_shift); 242 int32_t* quantized_multiplier, int* left_shift); 247 int* left_shift,
|
D | common.h | 91 int32 x, int32 quantized_multiplier, int left_shift) { in MultiplyByQuantizedMultiplierSmallerThanOneExp() argument 95 SaturatingRoundingDoublingHighMul(x, quantized_multiplier), -left_shift); in MultiplyByQuantizedMultiplierSmallerThanOneExp() 99 int32 x, int32 quantized_multiplier, int left_shift) { in MultiplyByQuantizedMultiplierGreaterThanOne() argument 101 return SaturatingRoundingDoublingHighMul(x * (1 << left_shift), in MultiplyByQuantizedMultiplierGreaterThanOne() 109 int left_shift = shift > 0 ? shift : 0; in MultiplyByQuantizedMultiplier() local 112 x * (1 << left_shift), quantized_multiplier), in MultiplyByQuantizedMultiplier()
|
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/ |
D | common.h | 93 int32 x, int32 quantized_multiplier, int left_shift) { in MultiplyByQuantizedMultiplierSmallerThanOneExp() argument 97 SaturatingRoundingDoublingHighMul(x, quantized_multiplier), -left_shift); in MultiplyByQuantizedMultiplierSmallerThanOneExp() 101 int32 x, int32 quantized_multiplier, int left_shift) { in MultiplyByQuantizedMultiplierGreaterThanOne() argument 103 return SaturatingRoundingDoublingHighMul(x * (1 << left_shift), in MultiplyByQuantizedMultiplierGreaterThanOne() 111 int left_shift = shift > 0 ? shift : 0; in MultiplyByQuantizedMultiplier() local 114 x * (1 << left_shift), quantized_multiplier), in MultiplyByQuantizedMultiplier()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | cwise_op_left_shift.cc | 19 REGISTER8(BinaryOp, CPU, "LeftShift", functor::left_shift, int8, int16, int32, 26 BinaryOp<SYCLDevice, functor::left_shift<TYPE>>); 40 REGISTER8(BinaryOp, GPU, "LeftShift", functor::left_shift, int8, int16, int32,
|
D | cwise_op_gpu_left_shift.cu.cc | 22 DEFINE_BINARY8(left_shift, int8, int16, int32, int64, uint8, uint16, uint32,
|
/external/tensorflow/tensorflow/python/ops/ |
D | bitwise_ops_test.py | 109 [bitwise_ops.left_shift(lhs, rhs), 111 self.assertAllEqual(left_shift_result, np.left_shift(lhs, rhs)) 123 [bitwise_ops.left_shift(lhs, rhs), 125 self.assertAllEqual(left_shift_result, np.left_shift(lhs, rhs)) 140 sess.run([bitwise_ops.left_shift(lhs, rhs), 157 ls_tensor = bitwise_ops.left_shift(lhs, rhs)
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/ |
D | add.h | 40 const int32 shifted_input1_val = input1_val * (1 << params.left_shift); in AddElementwise() 41 const int32 shifted_input2_val = input2_val * (1 << params.left_shift); in AddElementwise() 114 input1_val * (1 << params.left_shift); in BroadcastAdd4DSlow() 116 input2_val * (1 << params.left_shift); in BroadcastAdd4DSlow()
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | conv_utils.py | 352 left_shift = int(kernel_shape[d] / 2) 353 right_shift = kernel_shape[d] - left_shift 358 center += left_shift 360 start = max(0, center - left_shift)
|
/external/libaom/libaom/av1/common/x86/ |
D | jnt_convolve_sse2.c | 31 const __m128i left_shift = _mm_cvtsi32_si128(bits); in av1_dist_wtd_convolve_x_sse2() local 70 const __m128i res_lo_shift = _mm_sll_epi32(res_lo_round, left_shift); in av1_dist_wtd_convolve_x_sse2() 125 const __m128i res_lo_shift = _mm_sll_epi32(res_lo_round, left_shift); in av1_dist_wtd_convolve_x_sse2() 126 const __m128i res_hi_shift = _mm_sll_epi32(res_hi_round, left_shift); in av1_dist_wtd_convolve_x_sse2() 165 const __m128i left_shift = _mm_cvtsi32_si128(bits); in av1_dist_wtd_convolve_y_sse2() local 216 res_shift = _mm_sll_epi32(res, left_shift); in av1_dist_wtd_convolve_y_sse2() 245 res_shift = _mm_sll_epi32(res, left_shift); in av1_dist_wtd_convolve_y_sse2() 318 res_lo_shift = _mm_sll_epi32(res_lo, left_shift); in av1_dist_wtd_convolve_y_sse2() 319 res_hi_shift = _mm_sll_epi32(res_hi, left_shift); in av1_dist_wtd_convolve_y_sse2() 348 res_lo_shift = _mm_sll_epi32(res_lo, left_shift); in av1_dist_wtd_convolve_y_sse2() [all …]
|
D | jnt_convolve_avx2.c | 201 const int left_shift = FILTER_BITS - conv_params->round_0 + 1; in av1_dist_wtd_convolve_y_avx2() local 278 _mm256_slli_epi32(res_lo_0_32b, left_shift); in av1_dist_wtd_convolve_y_avx2() 284 _mm256_slli_epi32(res_lo_1_32b, left_shift); in av1_dist_wtd_convolve_y_avx2() 336 _mm256_slli_epi32(res_hi_0_32b, left_shift); in av1_dist_wtd_convolve_y_avx2() 342 _mm256_slli_epi32(res_hi_1_32b, left_shift); in av1_dist_wtd_convolve_y_avx2() 457 _mm256_slli_epi32(res_lo_0_32b, left_shift); in av1_dist_wtd_convolve_y_avx2() 463 _mm256_slli_epi32(res_lo_1_32b, left_shift); in av1_dist_wtd_convolve_y_avx2() 515 _mm256_slli_epi32(res_hi_0_32b, left_shift); in av1_dist_wtd_convolve_y_avx2() 521 _mm256_slli_epi32(res_hi_1_32b, left_shift); in av1_dist_wtd_convolve_y_avx2() 820 const __m128i left_shift = _mm_cvtsi32_si128(bits); in av1_dist_wtd_convolve_2d_copy_avx2() local [all …]
|
D | convolve_2d_sse2.c | 375 const __m128i left_shift = _mm_cvtsi32_si128(bits); in av1_dist_wtd_convolve_2d_copy_sse2() local 402 const __m128i res_lo = _mm_sll_epi16(d16_lo, left_shift); in av1_dist_wtd_convolve_2d_copy_sse2() 405 const __m128i res_hi = _mm_sll_epi16(d16_hi, left_shift); in av1_dist_wtd_convolve_2d_copy_sse2() 444 const __m128i res = _mm_sll_epi16(d16_0, left_shift); in av1_dist_wtd_convolve_2d_copy_sse2()
|
D | highbd_convolve_2d_sse4.c | 38 const __m128i left_shift = _mm_cvtsi32_si128(bits); in av1_highbd_dist_wtd_convolve_2d_copy_sse4_1() local 66 const __m128i res = _mm_sll_epi16(src_16bit, left_shift); in av1_highbd_dist_wtd_convolve_2d_copy_sse4_1() 118 const __m128i res = _mm_sll_epi16(src_10, left_shift); in av1_highbd_dist_wtd_convolve_2d_copy_sse4_1()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | add.cc | 56 int left_shift; member 101 data->left_shift = 20; in Prepare() 110 ((1 << data->left_shift) * output->params.scale); in Prepare() 230 op_params.left_shift = data->left_shift; in EvalAddQuantized()
|
D | sub.cc | 57 int left_shift; member 110 op_params->left_shift = 20; in Prepare8BitSubOp() 120 ((1 << op_params->left_shift) * output_quantization_params.scale); in Prepare8BitSubOp() 278 op_params.left_shift = data->left_shift; in EvalQuantized()
|
D | comparisons.cc | 70 const int left_shift = 8; \ 82 op_params.left_shift = left_shift; \
|
/external/skqp/src/utils/ |
D | SkUTF.cpp | 8 static constexpr inline int32_t left_shift(int32_t value, int32_t shift) { in left_shift() function 134 hic = left_shift(hic, 1); in NextUTF8() 147 } while ((hic = left_shift(hic, 1)) < 0); in NextUTF8()
|
/external/skia/src/utils/ |
D | SkUTF.cpp | 8 static constexpr inline int32_t left_shift(int32_t value, int32_t shift) { in left_shift() function 134 hic = left_shift(hic, 1); in NextUTF8() 147 } while ((hic = left_shift(hic, 1)) < 0); in NextUTF8()
|
/external/tensorflow/tensorflow/core/api_def/python_api/ |
D | api_def_LeftShift.pbtxt | 4 name: "bitwise.left_shift"
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
D | legacy_reference_ops.h | 899 inline void Comparison(int left_shift, const T* input1_data, in Comparison() argument 907 op_params.left_shift = left_shift; in Comparison() 937 inline void BroadcastComparison(int left_shift, const T* input1_data, in BroadcastComparison() argument 946 op_params.left_shift = left_shift; in BroadcastComparison() 973 int left_shift, const T* input1_data, const Dims<4>& input1_dims, \ 979 Comparison<T, name##Fn>(left_shift, input1_data, input1_dims, \ 996 int left_shift, const T* input1_data, const Dims<4>& input1_dims, \ 1002 BroadcastComparison<T, name##Fn>(left_shift, input1_data, input1_dims, \ 1165 inline void Add(int left_shift, const uint8* input1_data, in Add() argument 1186 op_params.left_shift = left_shift; in Add() [all …]
|
D | depthwiseconv_uint8.h | 81 const int left_shift = shift > 0 ? shift : 0; variable 84 return (SaturatingRoundingDoublingHighMul(x * (1 << left_shift),
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.bitwise.pbtxt | 20 name: "left_shift"
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.bitwise.pbtxt | 20 name: "left_shift"
|
/external/gemmlowp/internal/ |
D | output.h | 158 left_shift = std::max(0, output_stage.result_exponent); 169 ShiftLeft(input.reg[i], left_shift), 178 int left_shift;
|