/external/libvpx/libvpx/vpx_dsp/x86/ |
D | highbd_idct4x4_add_sse2.c | 105 __m128i max_input, min_input; in vpx_highbd_idct4x4_16_add_sse2() local 107 max_input = _mm_max_epi16(io_short[0], io_short[1]); in vpx_highbd_idct4x4_16_add_sse2() 109 max_input = _mm_max_epi16(max_input, _mm_srli_si128(max_input, 8)); in vpx_highbd_idct4x4_16_add_sse2() 111 max_input = _mm_max_epi16(max_input, _mm_srli_si128(max_input, 4)); in vpx_highbd_idct4x4_16_add_sse2() 113 max_input = _mm_max_epi16(max_input, _mm_srli_si128(max_input, 2)); in vpx_highbd_idct4x4_16_add_sse2() 115 max = (int16_t)_mm_extract_epi16(max_input, 0); in vpx_highbd_idct4x4_16_add_sse2()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | quantized_activation_ops.cc | 36 const float max_input = context->input(2).flat<float>()(0); in Compute() local 40 const T min_as_quantized = FloatToQuantized<T>(0.0f, min_input, max_input); in Compute() 56 output_max->flat<float>()(0) = max_input; in Compute() 69 const float max_input = context->input(2).flat<float>()(0); in Compute() local 73 const T min_as_quantized = FloatToQuantized<T>(0.0f, min_input, max_input); in Compute() 74 const T max_as_quantized = FloatToQuantized<T>(6.0f, min_input, max_input); in Compute() 94 output_max->flat<float>()(0) = max_input; in Compute()
|
D | quantization_utils.h | 227 inline T2 RequantizeInNewRange(T1 input, float min_input, float max_input, in RequantizeInNewRange() argument 229 const float input_float = QuantizedToFloat<T1>(input, min_input, max_input); in RequantizeInNewRange() 235 float min_input, float max_input, in RequantizeManyInNewRange() argument 240 QuantizedToFloat<T1>(input[index], min_input, max_input); in RequantizeManyInNewRange() 249 float min_input, float max_input, in RequantizeManyInNewRangeReference() argument 256 const float input_range = max_input - min_input; in RequantizeManyInNewRangeReference() 260 const float input_rezero = (min_input + max_input) / 2.0; in RequantizeManyInNewRangeReference() 295 const quint8* input, int64 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 …]
|
D | quantized_pooling_ops.cc | 69 const float max_input = context->input(2).flat<float>()(0); in Compute() local 104 output_max->flat<float>()(0) = max_input; in Compute() 121 const float max_input = context->input(2).flat<float>()(0); in Compute() local 128 output_max->flat<float>()(0) = max_input; in Compute()
|
/external/libtextclassifier/native/utils/tflite/ |
D | string_projection.cc | 162 size_t len, size_t max_input, size_t max_tokens) { in SplitBySpaceInternal() argument 164 max_input == kEntireString ? len : (len < max_input ? len : max_input); in SplitBySpaceInternal() 188 size_t max_input, size_t max_tokens) { in SplitBySpace() argument 190 SplitBySpaceInternal(&tokens, input_ptr, len, max_input, max_tokens); in SplitBySpace() 208 std::string Normalize(const std::string& input, size_t max_input = 300) { in Normalize() argument 209 return Normalize(input.data(), input.length(), max_input); in Normalize() 212 size_t max_input = 300) { in Normalize() argument 213 std::string normalized(input_ptr, std::min(len, max_input)); in Normalize() 278 std::vector<std::string> Tokenize(const std::string& input, size_t max_input, in Tokenize() argument 280 return Tokenize(input.c_str(), input.size(), max_input, max_tokens); in Tokenize() [all …]
|
/external/XNNPACK/test/ |
D | softmax-operator-tester.h | 129 const int32_t max_input = *std::max_element( in TestQU8() local 135 std::exp((int32_t(input[i * input_stride() + c]) - max_input) * in TestQU8() 140 std::exp((int32_t(input[i * input_stride() + c]) - max_input) * in TestQU8() 195 const double max_input = *std::max_element( in TestF32() local 200 sum_exp += std::exp(double(input[i * input_stride() + c]) - max_input); in TestF32() 204 std::exp(double(input[i * input_stride() + c]) - max_input) / sum_exp; in TestF32()
|
/external/XNNPACK/eval/ |
D | f32-extexp-ulp.cc | 68 const uint32_t max_input = 0x44317217; in ExtExpError() local 116 for (uint32_t n = 0; n < max_input; n += block_size) { in ExtExpError() 118 x[i] = fp32_from_bits(std::min<uint32_t>(n + i, max_input)); in ExtExpError()
|
D | f32-sqrt-ulp.cc | 63 const uint32_t max_input = 0x41800000; in SqrtError() local 91 for (uint32_t n = min_input; n < max_input; n += block_size) { in SqrtError() 93 x[i] = fp32_from_bits(std::min<uint32_t>(n + i, max_input)); in SqrtError()
|
D | f32-exp-ulp.cc | 66 const uint32_t max_input = 0x42B17217; in ExpError() local 111 for (uint32_t n = 0; n < max_input; n += block_size) { in ExpError() 113 x[i] = fp32_from_bits(std::min<uint32_t>(n + i, max_input)); in ExpError()
|
/external/libpng/contrib/tools/ |
D | makesRGB.c | 40 static const unsigned int max_input = 255*65535; variable 45 return sRGB_from_linear(l/max_input); in fsRGB() 306 for (i=0; i <= max_input; ++i) in main() 385 min_error, max_error, error_count, (100.*error_count)/max_input); in main()
|
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/ |
D | QuantizedMaxPool.pbtxt | 12 name: "max_input" 70 name: "max_input"
|
D | QuantizedAvgPool.pbtxt | 12 name: "max_input" 70 name: "max_input"
|
D | QuantizedConv2D.pbtxt | 16 name: "max_input" 111 name: "max_input" 218 name: "max_input"
|
D | QuantizedBiasAdd.pbtxt | 16 name: "max_input" 94 name: "max_input"
|
D | QuantizedConv2DAndRelu.pbtxt | 16 name: "max_input" 123 name: "max_input"
|
D | QuantizedConv2DAndReluAndRequantize.pbtxt | 16 name: "max_input" 131 name: "max_input"
|
D | QuantizedConv2DWithBias.pbtxt | 20 name: "max_input" 131 name: "max_input"
|
D | QuantizedConv2DAndRequantize.pbtxt | 16 name: "max_input" 131 name: "max_input"
|
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/ |
D | QuantizedAvgPool.pbtxt | 12 name: "max_input" 70 name: "max_input"
|
D | QuantizedMaxPool.pbtxt | 12 name: "max_input" 70 name: "max_input"
|
D | QuantizedConv2D.pbtxt | 16 name: "max_input" 111 name: "max_input" 218 name: "max_input"
|
D | QuantizedBiasAdd.pbtxt | 16 name: "max_input" 94 name: "max_input"
|
D | QuantizedConv2DAndRelu.pbtxt | 16 name: "max_input" 123 name: "max_input"
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | freeze_requantization_ranges_test.cc | 134 const string& max_input = in TestFreezeRequantizationRanges() local 136 ASSERT_EQ(1, node_map.count(max_input)); in TestFreezeRequantizationRanges() 137 EXPECT_EQ("Const", node_map.at(max_input)->op()); in TestFreezeRequantizationRanges()
|
/external/tensorflow/tensorflow/core/kernels/mkl/ |
D | mkl_qmatmul_op.cc | 341 const float max_input = context->input(4).flat<float>()(0); in ComputeOutputRangeForInt32() local 345 min_input, max_input, min_weight, max_weight, min_output_value, in ComputeOutputRangeForInt32() 407 const float max_input = context->input(4).flat<float>()(0); in GetBiasHandle() local 427 float qa_amin = 255 * min_input / (max_input - min_input); in GetBiasHandle() 430 ((max_input - min_input) * in GetBiasHandle() 468 out_scale = 255.0 * 127.0 / max_input * in GetBiasHandle()
|