/external/libtextclassifier/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 | 31 params.output_offset + in MulElementwise() 61 int32 output_offset = params.output_offset; in Mul() local 78 std::min<int16>(output_activation_max - output_offset, rescaled_result); in Mul() 80 std::max<int16>(output_activation_min - output_offset, clamped_result); in Mul() 81 output_data[i] = output_offset + clamped_result; in Mul() 113 params.output_offset + in BroadcastMul4DSlow()
|
D | fully_connected.h | 32 const int32 output_offset = params.output_offset; in FullyConnected() local 58 acc += output_offset; in FullyConnected()
|
D | conv.h | 39 const int32 output_offset = params.output_offset; in ConvPerChannel() local 114 acc += output_offset; in ConvPerChannel()
|
D | depthwise_conv.h | 38 const int32 output_offset = params.output_offset; in DepthwiseConvPerChannel() local 111 acc += output_offset; in DepthwiseConvPerChannel()
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
D | fully_connected.h | 74 const int32 output_offset = params.output_offset; in FullyConnected() local 106 acc += output_offset; in FullyConnected() 123 const int32 output_offset = params.output_offset; in FullyConnected() local 130 TFLITE_DCHECK_EQ(output_offset, 0); in FullyConnected() 160 accum = std::max(accum, output_activation_min - output_offset); in FullyConnected() 161 accum = std::min(accum, output_activation_max - output_offset); in FullyConnected() 162 accum += output_offset; in FullyConnected()
|
D | legacy_reference_ops.h | 115 int32 output_offset, int32 output_multiplier, in DepthwiseConv() argument 133 op_params.output_offset = output_offset; in DepthwiseConv() 149 int32 output_offset, int32 output_multiplier, in DepthwiseConv() argument 156 output_offset, output_multiplier, output_shift, in DepthwiseConv() 168 int pad_height, int depth_multiplier, int32 output_offset, in DepthwiseConv() argument 179 output_offset, output_multiplier, output_shift, in DepthwiseConv() 191 int32 output_offset, int32 output_multiplier, in DepthwiseConv() argument 198 output_offset, output_multiplier, output_shift, in DepthwiseConv() 280 int32 output_offset, int32 output_multiplier, int output_shift, in Conv() argument 296 op_params.output_offset = output_offset; in Conv() [all …]
|
D | depthwiseconv_uint8.h | 110 const int32 output_offset = params.output_offset; in Run() local 163 acc += output_offset; in Run()
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | legacy_optimized_ops.h | 214 int32 output_offset, int32 output_multiplier, in DepthwiseConv() argument 232 op_params.output_offset = output_offset; in DepthwiseConv() 248 int32 output_offset, int32 output_multiplier, in DepthwiseConv() argument 255 output_offset, output_multiplier, output_shift, in DepthwiseConv() 267 int pad_height, int depth_multiplier, int32 output_offset, in DepthwiseConv() argument 278 output_offset, output_multiplier, output_shift, in DepthwiseConv() 290 int32 output_offset, int32 output_multiplier, in DepthwiseConv() argument 297 output_offset, output_multiplier, output_shift, in DepthwiseConv() 360 int32 output_offset, int32 output_multiplier, in FullyConnected() argument 368 op_params.output_offset = output_offset; in FullyConnected() [all …]
|
/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/kernels/internal/ |
D | depthwiseconv_quantized_test.cc | 295 std::int32_t output_offset, std::int32_t output_multiplier, in TestOneDepthwiseConvWithGivenOutputShift() argument 315 op_params.output_offset = output_offset; in TestOneDepthwiseConvWithGivenOutputShift() 402 << " output_offset = " << op_params.output_offset in TestOneDepthwiseConvWithGivenOutputShift() 428 std::int32_t output_offset, std::int32_t output_multiplier, in TestOneDepthwiseConvBisectOutputShift() argument 439 pad_width, pad_height, depth_multiplier, output_offset, output_multiplier, in TestOneDepthwiseConvBisectOutputShift() 466 pad_width, pad_height, depth_multiplier, output_offset, output_multiplier, in TestOneDepthwiseConvBisectOutputShift() 478 std::int32_t output_offset, std::int32_t output_multiplier, in TestOneDepthwiseConv() argument 484 pad_width, pad_height, depth_multiplier, output_offset, output_multiplier, in TestOneDepthwiseConv() 519 const std::int32_t output_offset = UniformRandomInt(0, 255); in TryTestDepthwiseConv() local 545 pad_height, depth_multiplier, output_offset, output_multiplier, in TryTestDepthwiseConv()
|
/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()
|
D | draw_vs_variant.c | 331 fetch.element[i].output_offset = i * 4 * sizeof(float); in draw_vs_create_variant_generic() 332 assert(fetch.element[i].output_offset < fetch.output_stride); in draw_vs_create_variant_generic() 347 emit.element[i].output_offset = key->element[i].out.offset; in draw_vs_create_variant_generic() 357 emit.element[i].output_offset = key->element[i].out.offset; in draw_vs_create_variant_generic()
|
/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 | 104 int32 output_offset = i * piece_size * suffix_dim_size + in SplitOpKernel() local 106 *(output_ptr + output_offset) = ldg(input + offset); in SplitOpKernel() 192 int32 output_offset = i * piece_size + (j % piece_size); in SplitVOpKernel_fixed() local 193 output_ptr[output_offset] = input[offset]; in SplitVOpKernel_fixed()
|
/external/tensorflow/tensorflow/lite/experimental/micro/kernels/ |
D | fully_connected.cc | 88 const int32_t output_offset = output->params.zero_point; in EvalQuantized() local 93 op_params.output_offset = output_offset; in EvalQuantized()
|
D | depthwise_conv.cc | 128 const int32_t output_offset = output->params.zero_point; in EvalQuantized() local 144 op_params.output_offset = output_offset; in EvalQuantized()
|
/external/tensorflow/tensorflow/lite/experimental/micro/kernels/portable_optimized/ |
D | depthwise_conv.cc | 110 const int32 output_offset = params.output_offset; in DepthwiseConvOptimizedForFilterWidthEight() local 261 acc += output_offset; in DepthwiseConvOptimizedForFilterWidthEight() 319 const int32_t output_offset = output->params.zero_point; in EvalQuantized() local 335 op_params.output_offset = output_offset; in EvalQuantized()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | embedding_lookup_sparse.cc | 205 const int output_offset = output_bucket * embedding_size; in Eval() local 209 if (output_offset != current_output_offset) { in Eval() 218 current_output_offset = output_offset; in Eval()
|
D | lstm_eval.h | 51 int output_offset, TfLiteTensor* scratch_buffer, 80 int output_offset, TfLiteTensor* scratch_buffer,
|
D | add.cc | 59 int32 output_offset; member 100 data->output_offset = output->params.zero_point; in Prepare() 237 op_params.output_offset = data->output_offset; in EvalAddQuantized()
|
D | depthwise_conv.cc | 231 auto output_offset = output->params.zero_point; in EvalQuantized() local 255 op_params.output_offset = output_offset; in EvalQuantized() 283 op_params.output_offset = output->params.zero_point; in EvalQuantizedPerChannel()
|
D | sub.cc | 60 int32 output_offset; member 109 op_params->output_offset = output_quantization_params.zero_point; in Prepare8BitSubOp() 285 op_params.output_offset = data->output_offset; in EvalQuantized()
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
D | resolve_constant_unary.cc | 72 int output_offset = Offset(output_shape, output_indices); in ReduceGeneric() local 75 output->at(output_offset) = input.at(input_offset); in ReduceGeneric() 78 output->at(output_offset) = in ReduceGeneric() 79 reducer(output->at(output_offset), input.at(input_offset)); in ReduceGeneric()
|
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/ |
D | optimized_ops.h | 965 const RuntimeShape& bias_shape, const int32* bias_data, int32 output_offset, in FullyConnectedAsGEMV() argument 1104 const int32x4_t output_offset_vec = vdupq_n_s32(output_offset); in FullyConnectedAsGEMV() 1130 int32 output_offset, int32 output_multiplier, in MakeExp() 1137 quantize_down_stage.result_offset_after_shift = output_offset; in MakeExp() 1158 const int32 output_offset = params.output_offset; in FullyConnected() local 1179 filter_offset, bias_shape, bias_data, output_offset, output_multiplier, in FullyConnected() 1198 bias_data, output_rows, output_offset, output_multiplier, output_shift, in FullyConnected() 1212 int32 output_offset, int32 output_multiplier, in FullyConnected() argument 1220 op_params.output_offset = output_offset; in FullyConnected() 1242 const int32 output_offset = params.output_offset; in FullyConnected() local [all …]
|