Home
last modified time | relevance | path

Searched refs:padding_values (Results 1 – 25 of 86) sorted by relevance

1234

/external/tensorflow/tensorflow/lite/kernels/
Dpadding.h71 TfLitePaddingValues padding_values; in ComputePaddingHeightWidth() local
73 padding_values.height = in ComputePaddingHeightWidth()
76 padding_values.height_offset = offset; in ComputePaddingHeightWidth()
77 padding_values.width = in ComputePaddingHeightWidth()
80 padding_values.width_offset = offset; in ComputePaddingHeightWidth()
81 return padding_values; in ComputePaddingHeightWidth()
97 Padding3DValues padding_values; in ComputePadding3DValues() local
99 padding_values.depth = in ComputePadding3DValues()
102 padding_values.depth_offset = offset; in ComputePadding3DValues()
103 padding_values.height = in ComputePadding3DValues()
[all …]
Dpooling.cc132 op_params.padding_values.height = data->padding.height; \ in AverageEvalFloat()
133 op_params.padding_values.width = data->padding.width; \ in AverageEvalFloat()
164 op_params.padding_values.height = data->padding.height; \ in AverageEvalQuantizedUint8()
165 op_params.padding_values.width = data->padding.width; \ in AverageEvalQuantizedUint8()
197 op_params.padding_values.height = data->padding.height; \ in AverageEvalQuantizedInt8()
198 op_params.padding_values.width = data->padding.width; \ in AverageEvalQuantizedInt8()
229 op_params.padding_values.height = data->padding.height; \ in AverageEvalQuantizedInt16()
230 op_params.padding_values.width = data->padding.width; \ in AverageEvalQuantizedInt16()
255 op_params.padding_values.height = data->padding.height; \ in MaxEvalFloat()
256 op_params.padding_values.width = data->padding.width; \ in MaxEvalFloat()
[all …]
Dtranspose_conv.cc403 op_params.padding_values.width = data->padding.width; in EvalFloat()
404 op_params.padding_values.height = data->padding.height; in EvalFloat()
405 op_params.padding_values.width_offset = data->padding.width_offset; in EvalFloat()
406 op_params.padding_values.height_offset = data->padding.height_offset; in EvalFloat()
447 op_params.padding_values.width = data->padding.width; in EvalQuantized()
448 op_params.padding_values.height = data->padding.height; in EvalQuantized()
449 op_params.padding_values.width_offset = data->padding.width_offset; in EvalQuantized()
450 op_params.padding_values.height_offset = data->padding.height_offset; in EvalQuantized()
494 op_params.padding_values.width = data->padding.width; in EvalQuantizedPerChannel()
495 op_params.padding_values.height = data->padding.height; in EvalQuantizedPerChannel()
[all …]
Dpooling3d.cc42 Padding3DValues padding_values; member
96 const int padding_spatial_dim_1 = params.padding_values.depth; in AveragePool3D()
97 const int padding_spatial_dim_2 = params.padding_values.height; in AveragePool3D()
98 const int padding_spatial_dim_3 = params.padding_values.width; in AveragePool3D()
176 const int padding_spatial_dim_1 = params.padding_values.depth; in MaxPool3D()
177 const int padding_spatial_dim_2 = params.padding_values.height; in MaxPool3D()
178 const int padding_spatial_dim_3 = params.padding_values.width; in MaxPool3D()
318 params.padding_values = ComputePadding3DValues( in GenericPrepare()
Ddepthwise_conv.cc309 op_params.padding_values.width = data->padding.width; in EvalFloat()
310 op_params.padding_values.height = data->padding.height; in EvalFloat()
348 op_params.padding_values.width = data->padding.width; in EvalQuantized()
349 op_params.padding_values.height = data->padding.height; in EvalQuantized()
389 op_params.padding_values.width = data->padding.width; in EvalQuantizedPerChannel()
390 op_params.padding_values.height = data->padding.height; in EvalQuantizedPerChannel()
430 op_params.padding_values.width = data->padding.width; in EvalQuantizedPerChannel16x8()
431 op_params.padding_values.height = data->padding.height; in EvalQuantizedPerChannel16x8()
491 op_params.padding_values.width = data->padding.width; in EvalHybridPerChannel()
492 op_params.padding_values.height = data->padding.height; in EvalHybridPerChannel()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/
Dtranspose_conv.h57 const int padding_top = params.padding_values.height; in TransposeConvV2()
59 params.padding_values.height + params.padding_values.height_offset; in TransposeConvV2()
60 const int padding_left = params.padding_values.width; in TransposeConvV2()
62 params.padding_values.width + params.padding_values.width_offset; in TransposeConvV2()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dpooling.h47 (out_x * stride_width) - params.padding_values.width; in AveragePool()
49 (out_y * stride_height) - params.padding_values.height; in AveragePool()
105 (out_x * stride_width) - params.padding_values.width; in AveragePool()
107 (out_y * stride_height) - params.padding_values.height; in AveragePool()
160 (out_x * stride_width) - params.padding_values.width; in L2Pool()
162 (out_y * stride_height) - params.padding_values.height; in L2Pool()
214 (out_x * stride_width) - params.padding_values.width; in MaxPool()
216 (out_y * stride_height) - params.padding_values.height; in MaxPool()
268 (out_x * stride_width) - params.padding_values.width; in MaxPool()
270 (out_y * stride_height) - params.padding_values.height; in MaxPool()
Dconv.h37 const int pad_width = params.padding_values.width; in Conv()
38 const int pad_height = params.padding_values.height; in Conv()
123 const int pad_width = params.padding_values.width; in Conv()
124 const int pad_height = params.padding_values.height; in Conv()
217 const int pad_width = params.padding_values.width; in HybridConvPerChannel()
218 const int pad_height = params.padding_values.height; in HybridConvPerChannel()
Dconv3d.h50 const int pad_width = params.padding_values.width; in Conv3D()
51 const int pad_height = params.padding_values.height; in Conv3D()
52 const int pad_depth = params.padding_values.depth; in Conv3D()
Dconv3d_transpose.h33 const int pad_width = params.padding_values.width; in Conv3DTranspose()
34 const int pad_height = params.padding_values.height; in Conv3DTranspose()
35 const int pad_depth = params.padding_values.depth; in Conv3DTranspose()
Dtranspose_conv.h35 const int pad_width = params.padding_values.width; in TransposeConv()
36 const int pad_height = params.padding_values.height; in TransposeConv()
125 const int pad_width = params.padding_values.width; in TransposeConv()
126 const int pad_height = params.padding_values.height; in TransposeConv()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dpooling.h47 (out_x * stride_width) - params.padding_values.width; in AveragePool()
49 (out_y * stride_height) - params.padding_values.height; in AveragePool()
110 (out_x * stride_width) - params.padding_values.width; in MaxPool()
112 (out_y * stride_height) - params.padding_values.height; in MaxPool()
165 (out_x * stride_width) - params.padding_values.width; in AveragePool()
167 (out_y * stride_height) - params.padding_values.height; in AveragePool()
228 (out_x * stride_width) - params.padding_values.width; in MaxPool()
230 (out_y * stride_height) - params.padding_values.height; in MaxPool()
Ddepthwise_conv.h37 const int pad_width = params.padding_values.width; in DepthwiseConvPerChannel()
38 const int pad_height = params.padding_values.height; in DepthwiseConvPerChannel()
136 const int pad_width = params.padding_values.width; in DepthwiseConvPerChannel()
137 const int pad_height = params.padding_values.height; in DepthwiseConvPerChannel()
221 const int pad_width = params.padding_values.width; in DepthwiseConvHybridPerChannel()
222 const int pad_height = params.padding_values.height; in DepthwiseConvHybridPerChannel()
Dconv.h39 const int pad_width = params.padding_values.width; in ConvPerChannel()
40 const int pad_height = params.padding_values.height; in ConvPerChannel()
151 const int pad_width = params.padding_values.width; in ConvPerChannel()
152 const int pad_height = params.padding_values.height; in ConvPerChannel()
Dtranspose_conv.h36 const int pad_width = params.padding_values.width; in TransposeConv()
37 const int pad_height = params.padding_values.height; in TransposeConv()
136 const int pad_width = params.padding_values.width; in TransposeConv()
137 const int pad_height = params.padding_values.height; in TransposeConv()
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DPaddedBatchDataset.pbtxt17 name: "padding_values"
60 name: "padding_values"
102 name: "padding_values"
151 name: "padding_values"
207 name: "padding_values"
DPaddedBatchDatasetV2.pbtxt17 name: "padding_values"
63 name: "padding_values"
116 name: "padding_values"
176 name: "padding_values"
243 name: "padding_values"
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dim2col_utils.h127 const int pad_width = params.padding_values.width; in DilatedIm2col()
128 const int pad_height = params.padding_values.height; in DilatedIm2col()
220 const int pad_width = params.padding_values.width; in Im2col()
221 const int pad_height = params.padding_values.height; in Im2col()
256 const int pad_width = params.padding_values.width; in Im2col()
257 const int pad_height = params.padding_values.height; in Im2col()
382 const int pad_depth = params.padding_values.depth; in Im2col3D()
383 const int pad_width = params.padding_values.width; in Im2col3D()
384 const int pad_height = params.padding_values.height; in Im2col3D()
438 const int pad_width = params.padding_values.width; in DilatedIm2col3D()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/quantization/tensorflow/utils/
Dtf_to_xla_attribute_utils.cc174 TfLitePaddingValues padding_values = tflite::ComputePaddingHeightWidth( in CalculatePaddingAndPadIfNeeded() local
181 padding_h_before = padding_values.height; in CalculatePaddingAndPadIfNeeded()
182 padding_h_after = padding_values.height + padding_values.height_offset; in CalculatePaddingAndPadIfNeeded()
183 padding_w_before = padding_values.width; in CalculatePaddingAndPadIfNeeded()
184 padding_w_after = padding_values.width + padding_values.width_offset; in CalculatePaddingAndPadIfNeeded()
/external/tensorflow/tensorflow/core/kernels/data/
Dpadded_batch_dataset_op.cc54 std::vector<Tensor> padding_values, const DatasetBase* input, in Dataset() argument
61 padding_values_(std::move(padding_values)), in Dataset()
154 std::vector<Node*> padding_values; in AsGraphDefInternal() local
155 padding_values.reserve(padding_values_.size()); in AsGraphDefInternal()
159 padding_values.emplace_back(node); in AsGraphDefInternal()
176 {{2, padded_shapes}, {3, padding_values}}, in AsGraphDefInternal()
459 std::vector<Tensor> padding_values; in MakeDataset() local
476 padding_values.push_back(tensor::DeepCopy(padding_value_t)); in MakeDataset()
480 std::move(padded_shapes), std::move(padding_values), in MakeDataset()
/external/tensorflow/tensorflow/lite/kernels/internal/
Ddepthwiseconv_quantized_test.cc174 const int pad_width = params.padding_values.width; in DispatchDepthwiseConvImpl()
175 const int pad_height = params.padding_values.height; in DispatchDepthwiseConvImpl()
188 << "pad_width = " << params.padding_values.width in DispatchDepthwiseConvImpl()
189 << " pad_height = " << params.padding_values.height in DispatchDepthwiseConvImpl()
256 << " pad_width = " << params.padding_values.width in DispatchDepthwiseConvImpl()
257 << " pad_height = " << params.padding_values.height in DispatchDepthwiseConvImpl()
337 << " pad_width = " << params.padding_values.width in DispatchDepthwiseConvImpl()
338 << " pad_height = " << params.padding_values.height in DispatchDepthwiseConvImpl()
380 const int pad_width = params.padding_values.width; in DispatchDepthwiseConvImpl()
381 const int pad_height = params.padding_values.height; in DispatchDepthwiseConvImpl()
[all …]
Daveragepool_quantized_test.cc106 params.padding_values.width = in CreateDataAndRunAveragePool()
108 params.padding_values.height = compute_padding(stride_height, input_height, in CreateDataAndRunAveragePool()
169 params.padding_values.width = in CreateExtremalDataAndRunAveragePool()
171 params.padding_values.height = compute_padding(stride_height, input_height, in CreateExtremalDataAndRunAveragePool()
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dpadded_batch_test.py152 padding_values=[(-1, '<end>', {'structure': ''}),
154 def testPaddedBatchDatasetNonDefaultPadding(self, padding_values): argument
167 padding_values=padding_values))
206 2, padded_shapes=([None], [None]), padding_values=('', 0))
335 dataset = dataset.padded_batch(batch_size=2, padding_values=-1)
380 padding_values=(-1, '<end>'))
418 padding_values=(-1, '<end>'))
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DPaddedBatchDataset.pbtxt17 name: "padding_values"
60 name: "padding_values"
DPaddedBatchDatasetV2.pbtxt17 name: "padding_values"
63 name: "padding_values"

1234