Home
last modified time | relevance | path

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

123

/external/webrtc/webrtc/system_wrappers/source/spreadsortlib/
Dspreadsort.hpp208 template <class RandomAccessIter, class div_type, class data_type, class right_shift>
209 …oop(RandomAccessIter * bins, const RandomAccessIter & nextbinstart, unsigned ii, right_shift &shift in inner_swap_loop()
236 template <class RandomAccessIter, class div_type, class data_type, class right_shift>
237 …swap_loop(RandomAccessIter * bins, RandomAccessIter & nextbinstart, unsigned ii, right_shift &shift in swap_loop()
241 …inner_swap_loop<RandomAccessIter, div_type, data_type, right_shift>(bins, nextbinstart, ii, shift,… in swap_loop()
245 …template <class RandomAccessIter, class div_type, class data_type, class right_shift, class compar…
248 , std::vector<size_t> &bin_sizes, right_shift shift, compare comp) in spread_sort_rec()
271 …swap_loop<RandomAccessIter, div_type, data_type, right_shift>(bins, nextbinstart, u, shift, bin_si… in spread_sort_rec()
288 …spread_sort_rec<RandomAccessIter, div_type, data_type, right_shift, compare>(lastPos, bin_cache[u]… in spread_sort_rec()
293 template <class RandomAccessIter, class div_type, class data_type, class right_shift>
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dcwise_op_right_shift.cc19 REGISTER8(BinaryOp, CPU, "RightShift", functor::right_shift, int8, int16, int32,
26 BinaryOp<SYCLDevice, functor::right_shift<TYPE>>);
40 REGISTER8(BinaryOp, GPU, "RightShift", functor::right_shift, int8, int16, int32,
Dcwise_op_gpu_right_shift.cu.cc22 DEFINE_BINARY8(right_shift, int8, int16, int32, int64, uint8, uint16, uint32,
/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/XNNPACK/src/xnnpack/
Dparams-init.h124 params.neon.right_shift = -shift; in xnn_init_q8_gemm_params()
170 const uint32_t right_shift = (uint32_t) shift; in xnn_init_q8_avgpool_params() local
171 const uint64_t rounding = UINT64_C(1) << (right_shift - 1); in xnn_init_q8_avgpool_params()
182 params.sse2.right_shift[0] = (uint64_t) right_shift; in xnn_init_q8_avgpool_params()
183 params.sse2.right_shift[1] = (uint64_t) right_shift; in xnn_init_q8_avgpool_params()
199 const uint32_t right_shift = (uint32_t) shift; in xnn_init_q8_avgpool_params() local
200 const int64_t rounding = INT64_C(1) << (right_shift - 1); in xnn_init_q8_avgpool_params()
204 params.scalar.right_shift = right_shift; in xnn_init_q8_avgpool_params()
237 const uint32_t right_shift = (uint32_t) shift; in xnn_init_scalar_q8_avgpool_params() local
238 const int64_t rounding = INT64_C(1) << (right_shift - 1); in xnn_init_scalar_q8_avgpool_params()
[all …]
Dparams.h159 int32_t right_shift; member
200 int32_t right_shift; member
229 uint32_t right_shift; member
249 XNN_ALIGN(16) uint64_t right_shift[2];
305 int32_t right_shift; member
333 int32_t right_shift; member
Drequantization.h55 n = (int32_t) asr_s64(adjusted_product + params.scalar.rounding, params.scalar.right_shift); in xnn_avgpool_quantize()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/
Dmul.h49 const int right_shift = std::max(0, -params.output_shift); in MulElementwise() local
73 p1 = RoundingDivideByPOT(p1, right_shift); in MulElementwise()
74 p2 = RoundingDivideByPOT(p2, right_shift); in MulElementwise()
124 const int right_shift = std::max(0, -params.output_shift); in MulSimpleBroadcast() local
143 p1 = RoundingDivideByPOT(p1, right_shift); in MulSimpleBroadcast()
144 p2 = RoundingDivideByPOT(p2, right_shift); in MulSimpleBroadcast()
/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;
/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/v8/src/execution/arm64/
Dsimulator-arm64.cc5495 int right_shift = (16 << highestSetBit) - immhimmb; in VisitNEONScalarShiftImmediate() local
5514 sri(vf, rd, rn, right_shift); in VisitNEONScalarShiftImmediate()
5517 sshr(vf, rd, rn, right_shift); in VisitNEONScalarShiftImmediate()
5520 ushr(vf, rd, rn, right_shift); in VisitNEONScalarShiftImmediate()
5523 sshr(vf, rd, rn, right_shift).Round(vf); in VisitNEONScalarShiftImmediate()
5526 ushr(vf, rd, rn, right_shift).Round(vf); in VisitNEONScalarShiftImmediate()
5529 ssra(vf, rd, rn, right_shift); in VisitNEONScalarShiftImmediate()
5532 usra(vf, rd, rn, right_shift); in VisitNEONScalarShiftImmediate()
5535 srsra(vf, rd, rn, right_shift); in VisitNEONScalarShiftImmediate()
5538 ursra(vf, rd, rn, right_shift); in VisitNEONScalarShiftImmediate()
[all …]
/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/tensorflow/tensorflow/core/api_def/python_api/
Dapi_def_RightShift.pbtxt4 name: "bitwise.right_shift"
/external/vixl/src/aarch64/
Dsimulator-aarch64.cc6426 int right_shift = (16 << highestSetBit) - immhimmb; in VisitNEONScalarShiftImmediate() local
6445 sri(vf, rd, rn, right_shift); in VisitNEONScalarShiftImmediate()
6448 sshr(vf, rd, rn, right_shift); in VisitNEONScalarShiftImmediate()
6451 ushr(vf, rd, rn, right_shift); in VisitNEONScalarShiftImmediate()
6454 sshr(vf, rd, rn, right_shift).Round(vf); in VisitNEONScalarShiftImmediate()
6457 ushr(vf, rd, rn, right_shift).Round(vf); in VisitNEONScalarShiftImmediate()
6460 ssra(vf, rd, rn, right_shift); in VisitNEONScalarShiftImmediate()
6463 usra(vf, rd, rn, right_shift); in VisitNEONScalarShiftImmediate()
6466 srsra(vf, rd, rn, right_shift); in VisitNEONScalarShiftImmediate()
6469 ursra(vf, rd, rn, right_shift); in VisitNEONScalarShiftImmediate()
[all …]
/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/lite/kernels/internal/optimized/
Dneon_tensor_utils.cc112 const int right_shift = shift > 0 ? 0 : -shift; in MultiplyByQuantizedMultiplier4Rows() local
122 right_shift); in MultiplyByQuantizedMultiplier4Rows()
127 right_shift); in MultiplyByQuantizedMultiplier4Rows()
132 right_shift); in MultiplyByQuantizedMultiplier4Rows()
137 right_shift); in MultiplyByQuantizedMultiplier4Rows()
145 right_shift); in MultiplyByQuantizedMultiplier4Rows()
150 right_shift); in MultiplyByQuantizedMultiplier4Rows()
155 right_shift); in MultiplyByQuantizedMultiplier4Rows()
160 right_shift); in MultiplyByQuantizedMultiplier4Rows()
173 const int right_shift = shift > 0 ? 0 : -shift; in MultiplyByQuantizedMultiplier2Rows() local
[all …]
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.bitwise.pbtxt24 name: "right_shift"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.bitwise.pbtxt24 name: "right_shift"
/external/tensorflow/tensorflow/lite/experimental/ruy/
Dkernel_avx2.cc664 const __m256i right_shift = _mm256_max_epi32(neg_e_vector, zero_vector);
666 _mm256_add_epi32(right_shift, _mm256_set1_epi32(31));
673 _mm256_srlv_epi32(_mm256_set1_epi32(0x80000000), right_shift);
687 _mm256_extracti128_si256(right_shift, 0))),
692 _mm256_extracti128_si256(right_shift, 1))),
1303 const __m256i right_shift = _mm256_max_epi32(neg_e_vector, zero_vector);
1305 _mm256_add_epi32(right_shift, _mm256_set1_epi32(31));
1312 _mm256_srlv_epi32(_mm256_set1_epi32(0x80000000), right_shift);
1326 _mm256_cvtepi32_epi64(_mm256_extracti128_si256(right_shift, 0))),
1331 _mm256_cvtepi32_epi64(_mm256_extracti128_si256(right_shift, 1))),
Dkernel_avx512.cc489 const __m512i right_shift = _mm512_max_epi32(neg_e_vector, zero_vector);
491 _mm512_add_epi32(right_shift, _mm512_set1_epi32(31));
503 _mm512_cvtepi32_epi64(_mm512_extracti32x8_epi32(right_shift, 0)));
506 _mm512_cvtepi32_epi64(_mm512_extracti32x8_epi32(right_shift, 1)));
1193 const __m512i right_shift = _mm512_max_epi32(neg_e_vector, zero_vector);
1195 _mm512_add_epi32(right_shift, _mm512_set1_epi32(31));
1206 _mm512_cvtepi32_epi64(_mm512_extracti32x8_epi32(right_shift, 0)));
1209 _mm512_cvtepi32_epi64(_mm512_extracti32x8_epi32(right_shift, 1)));
/external/tensorflow/tensorflow/python/keras/utils/
Dconv_utils.py444 right_shift = kernel_shape[d] - left_shift
452 end = min(input_shape[d], center + right_shift)
/external/XNNPACK/src/q8-gavgpool/
Dup7-scalar.c54 const uint32_t vshift = params->scalar.right_shift; in xnn_q8_gavgpool_ukernel_up7__scalar()
/external/XNNPACK/src/q8-avgpool/
Dup9-scalar.c34 const uint32_t vshift = params->scalar.right_shift; in xnn_q8_avgpool_ukernel_up9__scalar()

123