/external/libtextclassifier/native/utils/tflite/ |
D | encoder_common.cc | 39 int output_offset = 0; in CopyValuesToTensorAndPadOrTruncate() local 41 value_index < encoding_end_offsets.size() && output_offset < output_size; in CopyValuesToTensorAndPadOrTruncate() 49 output_offset), in CopyValuesToTensorAndPadOrTruncate() 50 output_size - output_offset); in CopyValuesToTensorAndPadOrTruncate() 57 std::fill(out->data.i32 + output_offset, in CopyValuesToTensorAndPadOrTruncate() 58 out->data.i32 + output_offset + from_this_element, in CopyValuesToTensorAndPadOrTruncate() 62 std::fill(out->data.f + output_offset, in CopyValuesToTensorAndPadOrTruncate() 63 out->data.f + output_offset + from_this_element, in CopyValuesToTensorAndPadOrTruncate() 71 output_offset += from_this_element; in CopyValuesToTensorAndPadOrTruncate() 77 (output_offset > 0) ? out->data.i32[output_offset - 1] : 0; in CopyValuesToTensorAndPadOrTruncate() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/ |
D | mul.h | 33 params.output_offset + in MulElementwise() 64 int32_t output_offset = params.output_offset; in Mul() local 81 output_activation_max - output_offset, rescaled_result); in Mul() 82 clamped_result = std::max<int16_t>(output_activation_min - output_offset, in Mul() 84 output_data[i] = output_offset + clamped_result; in Mul() 114 params.output_offset + in BroadcastMul4DSlow()
|
D | fully_connected.h | 31 const int32_t output_offset = params.output_offset; in FullyConnected() local 57 acc += output_offset; in FullyConnected()
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
D | fully_connected.h | 70 const int32_t output_offset = params.output_offset; in FullyConnected() local 102 acc += output_offset; in FullyConnected() 118 const int32_t output_offset = params.output_offset; in FullyConnected() local 125 TFLITE_DCHECK_EQ(output_offset, 0); in FullyConnected() 156 accum = std::max(accum, output_activation_min - output_offset); in FullyConnected() 157 accum = std::min(accum, output_activation_max - output_offset); in FullyConnected() 158 accum += output_offset; in FullyConnected()
|
D | div.h | 35 TFLITE_DCHECK_GT(params.output_offset, -256); in DivElementwise() 36 TFLITE_DCHECK_LT(params.output_offset, 256); in DivElementwise() 51 params.output_offset + in DivElementwise() 97 TFLITE_DCHECK_GT(params.output_offset, -256); in BroadcastDivSlow() 98 TFLITE_DCHECK_LT(params.output_offset, 256); in BroadcastDivSlow() 115 params.output_offset + in BroadcastDivSlow()
|
D | legacy_reference_ops.h | 118 int32 output_offset, int32 output_multiplier, in DepthwiseConv() argument 136 op_params.output_offset = output_offset; in DepthwiseConv() 152 int32 output_offset, int32 output_multiplier, in DepthwiseConv() argument 159 output_offset, output_multiplier, output_shift, in DepthwiseConv() 171 int pad_height, int depth_multiplier, int32 output_offset, in DepthwiseConv() argument 182 output_offset, output_multiplier, output_shift, in DepthwiseConv() 194 int32 output_offset, int32 output_multiplier, in DepthwiseConv() argument 201 output_offset, output_multiplier, output_shift, in DepthwiseConv() 283 int32 output_offset, int32 output_multiplier, int output_shift, in Conv() argument 299 op_params.output_offset = output_offset; in Conv() [all …]
|
D | depthwiseconv_uint8.h | 109 const int32_t output_offset = params.output_offset; in Run() local 162 acc += output_offset; in Run() 192 const int32_t output_offset = params.output_offset; in RunPerChannel() local 265 acc += output_offset; in RunPerChannel()
|
D | leaky_relu.h | 50 unclamped_output = params.output_offset + in QuantizeLeakyRelu() 55 unclamped_output = params.output_offset + in QuantizeLeakyRelu()
|
/external/mesa3d/src/amd/compiler/tests/ |
D | main.cpp | 63 static size_t output_offset = 0; variable 81 if (output_offset == output_size && !test_skipped && !test_failed) in write_test() 84 char *data = output_data + output_offset; in write_test() 85 uint32_t size = output_size - output_offset; in write_test() 103 output_offset += size; in write_test() 148 output_offset = 0; in run_test()
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/ |
D | mul.h | 44 TFLITE_DCHECK_GT(params.output_offset, -256); in MulElementwise() 45 TFLITE_DCHECK_LT(params.output_offset, 256); in MulElementwise() 49 const int16x8_t output_offset_vector = vdupq_n_s16(params.output_offset); in MulElementwise() 129 params.output_offset + in MulElementwise() 152 TFLITE_DCHECK_GT(params.output_offset, -256); in MulSimpleBroadcast() 153 TFLITE_DCHECK_LT(params.output_offset, 256); in MulSimpleBroadcast() 156 const auto output_offset_vector = vdupq_n_s16(params.output_offset); in MulSimpleBroadcast() 221 params.output_offset + in MulSimpleBroadcast()
|
D | transpose_conv.h | 48 const int output_offset = output_image_size * output_depth; in TransposeConvV2() local 72 std::fill_n(scratch_data, output_offset * batch_size, static_cast<int32>(0)); in TransposeConvV2() 95 scratch_data_p += output_offset; in TransposeConvV2() 105 output_shape.FlatSize(), params.output_offset, in TransposeConvV2()
|
D | fully_connected.h | 40 const int32 output_offset = params.output_offset; in FullyConnected() local 78 dst_params.zero_point = output_offset; in FullyConnected()
|
D | conv.h | 45 const int32 output_offset = params.output_offset; in ConvPerChannel() local 111 dst_params.zero_point = output_offset; in ConvPerChannel()
|
/external/tensorflow/tensorflow/lite/micro/kernels/vexriscv/ |
D | depthwise_conv.cc | 52 const int32_t output_offset = params.output_offset; in DepthwiseConvPerChannel() local 146 value += output_offset; in DepthwiseConvPerChannel() 177 const int32_t output_offset = params.output_offset; in DepthwiseConv() local 253 value += output_offset; in DepthwiseConv() 420 op_params.output_offset = data.output_zero_point; in EvalQuantizedPerChannel() 444 const int32_t output_offset = data.output_zero_point; in EvalQuantized() local 460 op_params.output_offset = output_offset; in EvalQuantized()
|
/external/tensorflow/tensorflow/examples/speech_commands/ |
D | generate_streaming_test_wav.py | 115 output_offset = int(i * background_segment_stride_samples) 121 mix_in_audio_sample(output_audio, output_offset, background_samples, 138 output_offset = ( 140 output_offset_ms = (output_offset * 1000) / FLAGS.sample_rate 157 mix_in_audio_sample(output_audio, output_offset, found_sample_data, 0,
|
/external/tensorflow/tensorflow/lite/micro/kernels/cmsis_nn/ |
D | add.cc | 56 int32_t output_offset; member 69 data->output_offset = output->params.zero_point; in CalculateOpData() 136 op_params.output_offset = data->output_offset; in EvalAddQuantized() 162 op_params.output_offset, op_params.output_multiplier, in EvalAddQuantized()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt_fetch.c | 92 key.element[nr].output_offset = dst_offset; in draw_pt_fetch_prepare() 102 key.element[nr].output_offset = dst_offset; in draw_pt_fetch_prepare() 113 key.element[nr].output_offset = dst_offset; in draw_pt_fetch_prepare() 124 key.element[nr].output_offset = dst_offset; in draw_pt_fetch_prepare()
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | legacy_optimized_ops.h | 287 int32 output_offset, int32 output_multiplier, in DepthwiseConv() argument 305 op_params.output_offset = output_offset; in DepthwiseConv() 326 int32 output_offset, int32 output_multiplier, in DepthwiseConv() argument 333 output_offset, output_multiplier, output_shift, in DepthwiseConv() 345 int pad_height, int depth_multiplier, int32 output_offset, in DepthwiseConv() argument 356 output_offset, output_multiplier, output_shift, in DepthwiseConv() 368 int32 output_offset, int32 output_multiplier, in DepthwiseConv() argument 375 output_offset, output_multiplier, output_shift, in DepthwiseConv() 723 int32 output_offset, int32 output_multiplier, in MakeExp() 730 quantize_down_stage.result_offset_after_shift = output_offset; in MakeExp() [all …]
|
/external/tensorflow/tensorflow/lite/micro/kernels/xtensa/ |
D | conv.cc | 48 const int32_t output_offset = params.output_offset; in ConvPerChannel() local 67 ae_q56s output_offset_56 = AE_CVTQ48A32S(output_offset); in ConvPerChannel() 169 const int input_offset, const int output_offset, in Conv1x32Input32x32Filter() argument 177 ae_q56s output_offset_56 = AE_CVTQ48A32S(output_offset); in Conv1x32Input32x32Filter()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | elementwise.cc | 49 int output_offset; member 115 op_data->output_offset = output_params->zero_point->data[0]; in GenericPrepare() 118 TF_LITE_ENSURE_EQ(context, op_data->output_offset, 0); in GenericPrepare() 195 std::min(std::max(value + op_data->output_offset, kMin), kMax)); in AbsEvalQuantized() 199 op_data->output_offset; in AbsEvalQuantized() 265 op_data->output_offset; in RsqrtEvalQuantized()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | quantized_conv_ops.cc | 60 int output_shift, int output_offset, int output_mult) { in operator ()() argument 170 ((((total + output_offset) * output_mult) + rounding) >> in operator ()() 206 int output_shift, int output_offset, int output_mult) { in operator ()() argument 226 output_shift, output_offset, output_mult); in operator ()() 389 (output_offset == 0) && (output_mult == 1) && (output_shift == 0) && in operator ()() 395 std::is_same<T3, qint32>() && (output_offset == 0) && in operator ()() 442 chunk_output_data, output_shift, output_offset, output_mult, ldc); in operator ()()
|
D | split_lib_gpu.cu.cc | 100 int32 output_offset = i * piece_size * suffix_dim_size + in SplitOpKernel() local 102 *(output_ptr + output_offset) = ldg(input + offset); in SplitOpKernel() 189 int32 output_offset = i * piece_size + (j % piece_size); in SplitVOpKernel_fixed() local 190 output_ptr[output_offset] = input[offset]; in SplitVOpKernel_fixed()
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | depthwiseconv_quantized_test.cc | 620 int depth_multiplier, std::int32_t output_offset, in TestOneDepthwiseConvWithGivenOutputShift() argument 644 op_params.output_offset = output_offset; in TestOneDepthwiseConvWithGivenOutputShift() 727 << " output_offset = " << op_params.output_offset in TestOneDepthwiseConvWithGivenOutputShift() 757 int depth_multiplier, std::int32_t output_offset, in TestOneDepthwiseConvBisectOutputShift() argument 771 padding_type, pad_width, pad_height, depth_multiplier, output_offset, in TestOneDepthwiseConvBisectOutputShift() 799 pad_width, pad_height, depth_multiplier, output_offset, output_multiplier, in TestOneDepthwiseConvBisectOutputShift() 816 int depth_multiplier, std::int32_t output_offset, in TestOneDepthwiseConv() argument 824 pad_width, pad_height, depth_multiplier, output_offset, output_multiplier, in TestOneDepthwiseConv() 852 std::int32_t output_offset; in TryTestDepthwiseConv() local 864 output_offset = UniformRandomInt(0, 255); in TryTestDepthwiseConv() [all …]
|
/external/libchrome/base/strings/ |
D | utf_offset_string_conversions_unittest.cc | 27 size_t output_offset; in TEST() member 45 EXPECT_EQ(utf8_to_utf16_cases[i].output_offset, offsets[0]); in TEST() 51 size_t output_offset; in TEST() member 75 EXPECT_EQ(utf16_to_utf8_cases[i].output_offset, offsets[0]) << i; in TEST()
|
/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | sub.cc | 56 int32_t output_offset; member 69 data->output_offset = output->params.zero_point; in CalculateOpData() 163 op_params.output_offset = data->output_offset; in EvalSubQuantized()
|