Home
last modified time | relevance | path

Searched refs:min_input (Results 1 – 25 of 91) sorted by relevance

1234

/external/libvpx/vpx_dsp/x86/
Dhighbd_idct4x4_add_sse2.c105 __m128i max_input, min_input; in vpx_highbd_idct4x4_16_add_sse2() local
108 min_input = _mm_min_epi16(io_short[0], io_short[1]); in vpx_highbd_idct4x4_16_add_sse2()
110 min_input = _mm_min_epi16(min_input, _mm_srli_si128(min_input, 8)); in vpx_highbd_idct4x4_16_add_sse2()
112 min_input = _mm_min_epi16(min_input, _mm_srli_si128(min_input, 4)); in vpx_highbd_idct4x4_16_add_sse2()
114 min_input = _mm_min_epi16(min_input, _mm_srli_si128(min_input, 2)); in vpx_highbd_idct4x4_16_add_sse2()
116 min = (int16_t)_mm_extract_epi16(min_input, 0); in vpx_highbd_idct4x4_16_add_sse2()
/external/tensorflow/tensorflow/core/kernels/
Dquantized_activation_ops.cc47 const float min_input = min_input_tensor.scalar<float>()(); in Compute() local
53 const T min_as_quantized = FloatToQuantized<T>(0.0f, min_input, max_input); in Compute()
66 output_min->flat<float>()(0) = min_input; in Compute()
93 const float min_input = min_input_tensor.scalar<float>()(); in Compute() local
99 const T min_as_quantized = FloatToQuantized<T>(0.0f, min_input, max_input); in Compute()
100 const T max_as_quantized = FloatToQuantized<T>(6.0f, min_input, max_input); in Compute()
117 output_min->flat<float>()(0) = min_input; in Compute()
Dquantization_utils.h228 inline T2 RequantizeInNewRange(T1 input, float min_input, float max_input, in RequantizeInNewRange() argument
230 const float input_float = QuantizedToFloat<T1>(input, min_input, max_input); in RequantizeInNewRange()
236 float min_input, float max_input, in RequantizeManyInNewRange() argument
241 QuantizedToFloat<T1>(input[index], min_input, max_input); in RequantizeManyInNewRange()
250 int64_t count, float min_input, in RequantizeManyInNewRangeReference() argument
257 const float input_range = max_input - min_input; in RequantizeManyInNewRangeReference()
261 const float input_rezero = (min_input + max_input) / 2.0; in RequantizeManyInNewRangeReference()
295 const quint8* input, int64_t count, float min_input, float max_input, in RequantizeManyInNewRange8To32BitReference() argument
297 const float code_0_float = QuantizedToFloat<quint8>(0, min_input, max_input); in RequantizeManyInNewRange8To32BitReference()
298 const float code_1_float = QuantizedToFloat<quint8>(1, min_input, max_input); in RequantizeManyInNewRange8To32BitReference()
[all …]
Dquantized_bias_add_op.cc43 const Tensor& min_input = context->input(2); in Compute() local
48 context, TensorShapeUtils::IsScalar(min_input.shape()), in Compute()
50 min_input.dims())); in Compute()
62 const float input_min = min_input.flat<float>()(0); in Compute()
Dquantized_pooling_ops.cc82 const float min_input = context->input(1).scalar<float>()(); in Compute() local
115 output_min->flat<float>()(0) = min_input; in Compute()
146 const float min_input = context->input(1).scalar<float>()(); in Compute() local
151 output_min->flat<float>()(0) = min_input; in Compute()
/external/tensorflow/tensorflow/python/ops/
Dquantized_conv_ops_test.py70 min_input=x1_min,
204 min_input=None, argument
219 if min_input is None:
220 min_input = constant_op.constant(0, shape=[], dtype=dtypes.float32)
240 min_input=min_input,
255 min_input=constant_op.constant(0, shape=[1], dtype=dtypes.float32),
/external/tensorflow/tensorflow/security/advisory/
Dtfsa-2022-098.md7 If `QuantizedAvgPool` is given `min_input` or `max_input` tensors of a nonzero rank, it results in …
15 min_input = tf.constant([], shape=[0], dtype=tf.float32)
17 tf.raw_ops.QuantizedAvgPool(input=input, min_input=min_input, max_input=max_input, ksize=ksize, str…
Dtfsa-2022-105.md7 If `QuantizedBiasAdd` is given `min_input`, `max_input`, `min_bias`, `max_bias` tensors of a nonzer…
14 min_input = tf.constant([], shape=[0], dtype=tf.float32)
18 tf.raw_ops.QuantizedBiasAdd(input=input, bias=bias, min_input=min_input, max_input=max_input, min_b…
Dtfsa-2021-016.md14 min_input = tf.constant(0.0)
22 tf.raw_ops.QuantizedConv2D(input=input, filter=filter, min_input=min_input, max_input=max_input, mi…
Dtfsa-2022-075.md16 min_input = tf.constant([], shape=[0], dtype=tf.float32)
24 min_input=min_input,
Dtfsa-2021-034.md15 min_input = tf.constant(-10.0, dtype=tf.float32)
20 tf.raw_ops.QuantizedBiasAdd(input=input_tensor, bias=bias, min_input=min_input,
/external/XNNPACK/eval/
Df32-qs8-cvt.cc102 …const uint32_t min_input = float_as_uint32((float) (std::numeric_limits<int8_t>::max() - zero_poin… in TEST() local
104 for (uint32_t n = min_input; n < max_input; n += kBlockSize) { in TEST()
130 …const uint32_t min_input = float_as_uint32((float) (zero_point - std::numeric_limits<int8_t>::min(… in TEST() local
132 for (uint32_t n = min_input; n < max_input; n += kBlockSize) { in TEST()
224 …const uint32_t min_input = float_as_uint32((float) (std::numeric_limits<int8_t>::max() - zero_poin… in TEST() local
226 for (uint32_t n = min_input; n < max_input; n += kBlockSize) { in TEST()
252 …const uint32_t min_input = float_as_uint32((float) (zero_point - std::numeric_limits<int8_t>::min(… in TEST() local
254 for (uint32_t n = min_input; n < max_input; n += kBlockSize) { in TEST()
340 …const uint32_t min_input = float_as_uint32((float) (std::numeric_limits<int8_t>::max() - zero_poin… in TEST() local
342 for (uint32_t n = min_input; n < max_input; n += kBlockSize) { in TEST()
[all …]
Df32-qu8-cvt.cc102 …const uint32_t min_input = float_as_uint32((float) (std::numeric_limits<uint8_t>::max() - zero_poi… in TEST() local
104 for (uint32_t n = min_input; n < max_input; n += kBlockSize) { in TEST()
130 const uint32_t min_input = float_as_uint32((float) zero_point); in TEST() local
132 for (uint32_t n = min_input; n < max_input; n += kBlockSize) { in TEST()
224 …const uint32_t min_input = float_as_uint32((float) (std::numeric_limits<uint8_t>::max() - zero_poi… in TEST() local
226 for (uint32_t n = min_input; n < max_input; n += kBlockSize) { in TEST()
252 const uint32_t min_input = float_as_uint32((float) zero_point); in TEST() local
254 for (uint32_t n = min_input; n < max_input; n += kBlockSize) { in TEST()
340 …const uint32_t min_input = float_as_uint32((float) (std::numeric_limits<uint8_t>::max() - zero_poi… in TEST() local
342 for (uint32_t n = min_input; n < max_input; n += kBlockSize) { in TEST()
[all …]
Df16-expm1minus-ulp.cc64 const uint16_t min_input = UINT16_C(0xC828); in ExpM1Error() local
93 for (uint16_t n = min_input; int16_t(n) < 0; n -= block_size) { in ExpM1Error()
/external/tensorflow/tensorflow/python/kernel_tests/quantization_ops/
Dquantization_ops_test.py161 min_input=[],
173 min_input=0.0,
185 min_input=0.0,
197 min_input=0.0,
239 min_input=[],
250 min_input=0.0,
272 min_input=[],
283 min_input=0.0,
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DQuantizedMaxPool.pbtxt8 name: "min_input"
66 name: "min_input"
DQuantizedAvgPool.pbtxt8 name: "min_input"
66 name: "min_input"
DQuantizedConv2D.pbtxt12 name: "min_input"
107 name: "min_input"
214 name: "min_input"
DQuantizedBiasAdd.pbtxt12 name: "min_input"
90 name: "min_input"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DQuantizedMaxPool.pbtxt8 name: "min_input"
66 name: "min_input"
DQuantizedAvgPool.pbtxt8 name: "min_input"
66 name: "min_input"
DQuantizedConv2D.pbtxt12 name: "min_input"
107 name: "min_input"
214 name: "min_input"
DQuantizedBiasAdd.pbtxt12 name: "min_input"
90 name: "min_input"
/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_qmatmul_op.cc347 const float min_input = context->input(3).flat<float>()(0); in ComputeOutputRangeForInt32() local
352 min_input, max_input, min_weight, max_weight, min_output_value, in ComputeOutputRangeForInt32()
414 const float min_input = context->input(3).flat<float>()(0); in GetBiasHandle() local
435 float qa_amin = 255 * min_input / (max_input - min_input); in GetBiasHandle()
438 ((max_input - min_input) * in GetBiasHandle()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dfreeze_requantization_ranges_test.cc130 const string& min_input = in TestFreezeRequantizationRanges() local
132 ASSERT_EQ(1, node_map.count(min_input)); in TestFreezeRequantizationRanges()
133 EXPECT_EQ("Const", node_map.at(min_input)->op()); in TestFreezeRequantizationRanges()

1234