Home
last modified time | relevance | path

Searched refs:right_shift (Results 1 – 25 of 233) sorted by relevance

12345678910

/external/webrtc/modules/audio_coding/codecs/ilbc/
Dmy_corr.c34 int right_shift; in WebRtcIlbcfix_MyCorr() local
42 right_shift = in WebRtcIlbcfix_MyCorr()
44 if (right_shift < 0) { in WebRtcIlbcfix_MyCorr()
45 right_shift = 0; in WebRtcIlbcfix_MyCorr()
51 WebRtcSpl_CrossCorrelation(corr, seq2, seq1, dim2, loops, right_shift, 1); in WebRtcIlbcfix_MyCorr()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/
Dmul.h55 const int right_shift = std::max(0, -params.output_shift); in MulElementwise() local
103 p1 = RoundingDivideByPOT(p1, right_shift); in MulElementwise()
104 p2 = RoundingDivideByPOT(p2, right_shift); in MulElementwise()
105 p3 = RoundingDivideByPOT(p3, right_shift); in MulElementwise()
106 p4 = RoundingDivideByPOT(p4, right_shift); in MulElementwise()
162 const int right_shift = std::max(0, -params.output_shift); in MulSimpleBroadcast() local
196 p1 = RoundingDivideByPOT(p1, right_shift); in MulSimpleBroadcast()
197 p2 = RoundingDivideByPOT(p2, right_shift); in MulSimpleBroadcast()
198 p3 = RoundingDivideByPOT(p3, right_shift); in MulSimpleBroadcast()
199 p4 = RoundingDivideByPOT(p4, right_shift); in MulSimpleBroadcast()
/external/tensorflow/tensorflow/core/kernels/
Dcwise_op_right_shift.cc19 REGISTER8(BinaryOp, CPU, "RightShift", functor::right_shift, int8, int16, int32,
26 REGISTER8(BinaryOp, GPU, "RightShift", functor::right_shift, int8, int16, int32,
29 REGISTER4(BinaryOp, GPU, "RightShift", functor::right_shift, uint8, uint16,
Dcwise_op_gpu_right_shift.cu.cc24 DEFINE_BINARY8(right_shift, int8, int16, int32, int64, uint8, uint16, uint32,
27 DEFINE_BINARY4(right_shift, uint8, uint16, uint32, uint64);
/external/tensorflow/tensorflow/python/ops/
Dbitwise_ops_test.py110 bitwise_ops.right_shift(lhs, rhs)])
112 self.assertAllEqual(right_shift_result, np.right_shift(lhs, rhs))
124 bitwise_ops.right_shift(lhs, rhs)])
126 self.assertAllEqual(right_shift_result, np.right_shift(lhs, rhs))
141 bitwise_ops.right_shift(lhs, rhs)])
158 rs_tensor = bitwise_ops.right_shift(lhs, rhs)
/external/gemmlowp/doc/
Dquantization_example.cc212 int* right_shift) { in QuantizeMultiplierSmallerThanOne() argument
240 *right_shift = s; in QuantizeMultiplierSmallerThanOne()
339 int right_shift; in main() local
341 &right_shift); in main()
354 quantize_down_stage.result_shift = right_shift; in main()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_RightShift.pbtxt23 right_shift_result = bitwise_ops.right_shift(lhs, rhs)
35 bitwise_ops.right_shift(lhs, rhs)
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Ddepthwiseconv_uint8.h82 const int right_shift = shift > 0 ? 0 : -shift; variable
83 const int rounding_offset = right_shift > 0 ? 1 << (right_shift - 1) : 0;
87 right_shift;
Dsoftmax.h216 uint8_t right_shift = 31 - headroom_plus_one; in SoftmaxInt16() local
217 int64_t round = 1 << (right_shift - 1); in SoftmaxInt16()
221 right_shift; in SoftmaxInt16()
/external/gemmlowp/internal/
Doutput.h160 right_shift = std::max(0, -output_stage.result_exponent);
172 output.reg[i] = Add(RoundingDivideByPOT(mulhigh_val, right_shift),
180 int right_shift;
202 auto right_shift =
208 right_shift.buf.reg[i] = Max(-right_shift.buf.reg[i], 0);
213 BroadcastRoundingDivideByPOT(mulhigh_val, right_shift);
/external/XNNPACK/src/xnnpack/
Dparams-init.h120 params.neon.right_shift = -shift; in xnn_init_qu8_gemm_params()
220 params.neon.right_shift = -shift; in xnn_init_qs8_gemm_params()
314 const uint32_t right_shift = (uint32_t) shift; in xnn_init_qu8_avgpool_params() local
315 const uint64_t rounding = UINT64_C(1) << (right_shift - 1); in xnn_init_qu8_avgpool_params()
326 params.sse2.right_shift[0] = (uint64_t) right_shift; in xnn_init_qu8_avgpool_params()
327 params.sse2.right_shift[1] = (uint64_t) right_shift; in xnn_init_qu8_avgpool_params()
343 const uint32_t right_shift = (uint32_t) shift; in xnn_init_qu8_avgpool_params() local
344 const int64_t rounding = INT64_C(1) << (right_shift - 1); in xnn_init_qu8_avgpool_params()
348 params.scalar.right_shift = right_shift; in xnn_init_qu8_avgpool_params()
381 const uint32_t right_shift = (uint32_t) shift; in xnn_init_scalar_qu8_avgpool_params() local
[all …]
Dparams.h259 int32_t right_shift; member
293 int32_t right_shift; member
338 int32_t right_shift; member
389 int32_t right_shift; member
432 int32_t right_shift; member
474 uint32_t right_shift; member
494 XNN_ALIGN(16) uint64_t right_shift[2];
/external/tensorflow/tensorflow/core/api_def/python_api/
Dapi_def_RightShift.pbtxt4 name: "bitwise.right_shift"
/external/libaom/libaom/av1/common/x86/
Dconvolve_avx2.c30 const __m128i right_shift = _mm_cvtsi32_si128(right_shift_bits); in av1_convolve_y_sr_avx2() local
98 _mm256_add_epi16(res_lo, right_shift_const), right_shift); in av1_convolve_y_sr_avx2()
108 _mm256_add_epi16(res_hi, right_shift_const), right_shift); in av1_convolve_y_sr_avx2()
211 _mm256_add_epi16(res_lo, right_shift_const), right_shift); in av1_convolve_y_sr_avx2()
221 _mm256_add_epi16(res_hi, right_shift_const), right_shift); in av1_convolve_y_sr_avx2()
/external/libaom/libaom/av1/encoder/
Dtpl_model.h36 int av1_tpl_ptr_pos(int mi_row, int mi_col, int stride, uint8_t right_shift);
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.bitwise.pbtxt24 name: "right_shift"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.bitwise.pbtxt24 name: "right_shift"
/external/ruy/ruy/
Dkernel_avx2_fma.cc362 const __m256i right_shift = _mm256_max_epi32(neg_e_vector, zero_vector);
505 rounding_right_shift(results, right_shift);
875 const __m256i right_shift = _mm256_max_epi32(neg_e_vector, zero_vector);
922 _mm256_cmpgt_epi32(right_shift, zeros);
925 _mm256_sub_epi32(right_shift, _mm256_set1_epi32(1)));
931 _mm256_srav_epi32(r_plus_nudge, right_shift);
936 _mm256_sub_epi32(_mm256_set1_epi32(31), right_shift));
/external/tensorflow/tensorflow/python/keras/utils/
Dconv_utils.py431 right_shift = kernel_shape[d] - left_shift
439 end = min(input_shape[d], center + right_shift)
/external/vixl/src/aarch64/
Dsimulator-aarch64.cc7021 int right_shift = (16 << highest_set_bit) - immh_immb; in VisitNEONScalarShiftImmediate() local
7040 sri(vf, rd, rn, right_shift); in VisitNEONScalarShiftImmediate()
7043 sshr(vf, rd, rn, right_shift); in VisitNEONScalarShiftImmediate()
7046 ushr(vf, rd, rn, right_shift); in VisitNEONScalarShiftImmediate()
7049 sshr(vf, rd, rn, right_shift).Round(vf); in VisitNEONScalarShiftImmediate()
7052 ushr(vf, rd, rn, right_shift).Round(vf); in VisitNEONScalarShiftImmediate()
7055 ssra(vf, rd, rn, right_shift); in VisitNEONScalarShiftImmediate()
7058 usra(vf, rd, rn, right_shift); in VisitNEONScalarShiftImmediate()
7061 srsra(vf, rd, rn, right_shift); in VisitNEONScalarShiftImmediate()
7064 ursra(vf, rd, rn, right_shift); in VisitNEONScalarShiftImmediate()
[all …]
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_tensor_test_ops.py122 gen_bitwise_ops.right_shift,
/external/XNNPACK/src/qu8-gavgpool/
D7x-minmax-scalar-c1.c54 const uint32_t vshift = params->scalar.right_shift; in xnn_qu8_gavgpool_minmax_ukernel_7x__scalar_c1()
/external/XNNPACK/src/qs8-vaddc/gen/
Dminmax-neon-ld64-x8.c29 const int32x4_t vright_shift = vld1q_dup_s32(&params->neon.right_shift); in xnn_qs8_vaddc_minmax_ukernel__neon_ld64_x8()
/external/XNNPACK/src/qs8-gemm/gen/
D1x8c4-minmax-neondot.c85 const int32x4_t vright_shift = vld1q_dup_s32(&params->neon.right_shift); in xnn_qs8_gemm_minmax_ukernel_1x8c4__neondot()
/external/XNNPACK/src/qs8-vadd/gen/
Dminmax-neon-ld64-x8.c28 const int32x4_t vright_shift = vld1q_dup_s32(&params->neon.right_shift); in xnn_qs8_vadd_minmax_ukernel__neon_ld64_x8()

12345678910