Home
last modified time | relevance | path

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

1234

/external/tensorflow/tensorflow/lite/kernels/
Dpadding.h67 TfLitePaddingValues padding_values; in ComputePaddingHeightWidth() local
69 padding_values.height = in ComputePaddingHeightWidth()
72 padding_values.height_offset = offset; in ComputePaddingHeightWidth()
73 padding_values.width = in ComputePaddingHeightWidth()
76 padding_values.width_offset = offset; in ComputePaddingHeightWidth()
77 return padding_values; in ComputePaddingHeightWidth()
93 Padding3DValues padding_values; in ComputePadding3DValues() local
95 padding_values.depth = in ComputePadding3DValues()
98 padding_values.depth_offset = offset; in ComputePadding3DValues()
99 padding_values.height = in ComputePadding3DValues()
[all …]
Dpooling.cc128 op_params.padding_values.height = data->padding.height; \ in AverageEvalFloat()
129 op_params.padding_values.width = data->padding.width; \ in AverageEvalFloat()
158 op_params.padding_values.height = data->padding.height; \ in AverageEvalQuantizedUint8()
159 op_params.padding_values.width = data->padding.width; \ in AverageEvalQuantizedUint8()
188 op_params.padding_values.height = data->padding.height; \ in AverageEvalQuantizedInt8()
189 op_params.padding_values.width = data->padding.width; \ in AverageEvalQuantizedInt8()
218 op_params.padding_values.height = data->padding.height; \ in AverageEvalQuantizedInt16()
219 op_params.padding_values.width = data->padding.width; \ in AverageEvalQuantizedInt16()
242 op_params.padding_values.height = data->padding.height; \ in MaxEvalFloat()
243 op_params.padding_values.width = data->padding.width; \ in MaxEvalFloat()
[all …]
Dtranspose_conv.cc402 op_params.padding_values.width = data->padding.width; in EvalFloat()
403 op_params.padding_values.height = data->padding.height; in EvalFloat()
404 op_params.padding_values.width_offset = data->padding.width_offset; in EvalFloat()
405 op_params.padding_values.height_offset = data->padding.height_offset; in EvalFloat()
446 op_params.padding_values.width = data->padding.width; in EvalQuantized()
447 op_params.padding_values.height = data->padding.height; in EvalQuantized()
448 op_params.padding_values.width_offset = data->padding.width_offset; in EvalQuantized()
449 op_params.padding_values.height_offset = data->padding.height_offset; in EvalQuantized()
493 op_params.padding_values.width = data->padding.width; in EvalQuantizedPerChannel()
494 op_params.padding_values.height = data->padding.height; in EvalQuantizedPerChannel()
[all …]
Ddepthwise_conv.cc305 op_params.padding_values.width = data->padding.width; in EvalFloat()
306 op_params.padding_values.height = data->padding.height; in EvalFloat()
344 op_params.padding_values.width = data->padding.width; in EvalQuantized()
345 op_params.padding_values.height = data->padding.height; in EvalQuantized()
385 op_params.padding_values.width = data->padding.width; in EvalQuantizedPerChannel()
386 op_params.padding_values.height = data->padding.height; in EvalQuantizedPerChannel()
426 op_params.padding_values.width = data->padding.width; in EvalQuantizedPerChannel16x8()
427 op_params.padding_values.height = data->padding.height; in EvalQuantizedPerChannel16x8()
486 op_params.padding_values.width = data->padding.width; in EvalHybridPerChannel()
487 op_params.padding_values.height = data->padding.height; in EvalHybridPerChannel()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/
Dtranspose_conv.h52 const int padding_top = params.padding_values.height; in TransposeConvV2()
54 params.padding_values.height + params.padding_values.height_offset; in TransposeConvV2()
55 const int padding_left = params.padding_values.width; in TransposeConvV2()
57 params.padding_values.width + params.padding_values.width_offset; in TransposeConvV2()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dpooling.h45 (out_x * stride_width) - params.padding_values.width; in AveragePool()
47 (out_y * stride_height) - params.padding_values.height; in AveragePool()
101 (out_x * stride_width) - params.padding_values.width; in AveragePool()
103 (out_y * stride_height) - params.padding_values.height; in AveragePool()
154 (out_x * stride_width) - params.padding_values.width; in L2Pool()
156 (out_y * stride_height) - params.padding_values.height; in L2Pool()
208 (out_x * stride_width) - params.padding_values.width; in MaxPool()
210 (out_y * stride_height) - params.padding_values.height; in MaxPool()
262 (out_x * stride_width) - params.padding_values.width; in MaxPool()
264 (out_y * stride_height) - params.padding_values.height; in MaxPool()
Dconv.h35 const int pad_width = params.padding_values.width; in Conv()
36 const int pad_height = params.padding_values.height; in Conv()
114 const int pad_width = params.padding_values.width; in Conv()
115 const int pad_height = params.padding_values.height; in Conv()
201 const int pad_width = params.padding_values.width; in HybridConvPerChannel()
202 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()
Dtranspose_conv.h33 const int pad_width = params.padding_values.width; in TransposeConv()
34 const int pad_height = params.padding_values.height; in TransposeConv()
123 const int pad_width = params.padding_values.width; in TransposeConv()
124 const int pad_height = params.padding_values.height; in TransposeConv()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dpooling.h45 (out_x * stride_width) - params.padding_values.width; in AveragePool()
47 (out_y * stride_height) - params.padding_values.height; in AveragePool()
106 (out_x * stride_width) - params.padding_values.width; in MaxPool()
108 (out_y * stride_height) - params.padding_values.height; in MaxPool()
161 (out_x * stride_width) - params.padding_values.width; in AveragePool()
163 (out_y * stride_height) - params.padding_values.height; in AveragePool()
222 (out_x * stride_width) - params.padding_values.width; in MaxPool()
224 (out_y * stride_height) - params.padding_values.height; in MaxPool()
Ddepthwise_conv.h35 const int pad_width = params.padding_values.width; in DepthwiseConvPerChannel()
36 const int pad_height = params.padding_values.height; in DepthwiseConvPerChannel()
134 const int pad_width = params.padding_values.width; in DepthwiseConvPerChannel()
135 const int pad_height = params.padding_values.height; in DepthwiseConvPerChannel()
219 const int pad_width = params.padding_values.width; in DepthwiseConvHybridPerChannel()
220 const int pad_height = params.padding_values.height; in DepthwiseConvHybridPerChannel()
Dconv.h37 const int pad_width = params.padding_values.width; in ConvPerChannel()
38 const int pad_height = params.padding_values.height; in ConvPerChannel()
141 const int pad_width = params.padding_values.width; in ConvPerChannel()
142 const int pad_height = params.padding_values.height; in ConvPerChannel()
/external/tensorflow/tensorflow/lite/micro/kernels/
Dpooling.cc69 op_params.padding_values.height = data->padding.height; in AverageEvalFloat()
70 op_params.padding_values.width = data->padding.width; in AverageEvalFloat()
90 op_params.padding_values.height = data->padding.height; in AverageEvalQuantized()
91 op_params.padding_values.width = data->padding.width; in AverageEvalQuantized()
117 op_params.padding_values.height = data->padding.height; in MaxEvalFloat()
118 op_params.padding_values.width = data->padding.width; in MaxEvalFloat()
135 op_params.padding_values.height = data->padding.height; in MaxEvalQuantized()
136 op_params.padding_values.width = data->padding.width; in MaxEvalQuantized()
Dconv_common.cc47 op_params.padding_values.width = data.padding.width; in ConvParamsFloat()
48 op_params.padding_values.height = data.padding.height; in ConvParamsFloat()
67 op_params.padding_values.height = data.padding.height; in ConvParamsQuantized()
68 op_params.padding_values.width = data.padding.width; in ConvParamsQuantized()
Ddepthwise_conv.cc179 op_params.padding_values.width = data.padding.width; in EvalFloat()
180 op_params.padding_values.height = data.padding.height; in EvalFloat()
208 op_params.padding_values.width = data.padding.width; in EvalQuantizedPerChannel()
209 op_params.padding_values.height = data.padding.height; in EvalQuantizedPerChannel()
246 op_params.padding_values.width = data.padding.width; in EvalQuantized()
247 op_params.padding_values.height = data.padding.height; in EvalQuantized()
Dtranspose_conv.cc79 TfLitePaddingValues padding_values = ComputePaddingHeightWidth( in CalculateOpData() local
85 data->params.padding_values.width = padding_values.width; in CalculateOpData()
86 data->params.padding_values.height = padding_values.height; in CalculateOpData()
/external/tensorflow/tensorflow/core/kernels/data/
Dpadded_batch_dataset_op.cc53 std::vector<Tensor> padding_values, const DatasetBase* input, in Dataset() argument
60 padding_values_(std::move(padding_values)), in Dataset()
152 std::vector<Node*> padding_values; in AsGraphDefInternal() local
153 padding_values.reserve(padding_values_.size()); in AsGraphDefInternal()
157 padding_values.emplace_back(node); in AsGraphDefInternal()
174 {{2, padded_shapes}, {3, padding_values}}, in AsGraphDefInternal()
436 std::vector<Tensor> padding_values; in MakeDataset() local
453 padding_values.push_back(tensor::DeepCopy(padding_value_t)); in MakeDataset()
457 std::move(padded_shapes), std::move(padding_values), in MakeDataset()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dim2col_utils.h126 const int pad_width = params.padding_values.width; in DilatedIm2col()
127 const int pad_height = params.padding_values.height; in DilatedIm2col()
219 const int pad_width = params.padding_values.width; in Im2col()
220 const int pad_height = params.padding_values.height; in Im2col()
255 const int pad_width = params.padding_values.width; in Im2col()
256 const int pad_height = params.padding_values.height; in Im2col()
/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.cc104 params.padding_values.width = in CreateDataAndRunAveragePool()
106 params.padding_values.height = compute_padding(stride_height, input_height, in CreateDataAndRunAveragePool()
167 params.padding_values.width = in CreateExtremalDataAndRunAveragePool()
169 params.padding_values.height = compute_padding(stride_height, input_height, in CreateExtremalDataAndRunAveragePool()
/external/tensorflow/tensorflow/lite/micro/kernels/cmsis_nn/
Dpooling.cc86 op_params.padding_values.height = data.padding.height; in AverageEvalFloat()
87 op_params.padding_values.width = data.padding.width; in AverageEvalFloat()
108 op_params.padding_values.height = data.padding.height; in AverageEvalQuantized()
109 op_params.padding_values.width = data.padding.width; in AverageEvalQuantized()
179 op_params.padding_values.height = data.padding.height; in MaxEvalFloat()
180 op_params.padding_values.width = data.padding.width; in MaxEvalFloat()
198 op_params.padding_values.height = data.padding.height; in MaxEvalQuantizedUInt8()
199 op_params.padding_values.width = data.padding.width; in MaxEvalQuantizedUInt8()
/external/tensorflow/tensorflow/lite/micro/kernels/arc_mli/
Dpooling.cc157 op_params.padding_values.height = data.padding.height; in AverageEvalFloat()
158 op_params.padding_values.width = data.padding.width; in AverageEvalFloat()
249 op_params.padding_values.height = data.padding.height; in AverageEvalQuantized()
250 op_params.padding_values.width = data.padding.width; in AverageEvalQuantized()
282 op_params.padding_values.height = data.padding.height; in MaxEvalFloat()
283 op_params.padding_values.width = data.padding.width; in MaxEvalFloat()
307 op_params.padding_values.height = data.padding.height; in MaxEvalQuantized()
308 op_params.padding_values.width = data.padding.width; in MaxEvalQuantized()
/external/tensorflow/tensorflow/lite/micro/kernels/vexriscv/
Ddepthwise_conv.cc48 const int pad_width = params.padding_values.width; in DepthwiseConvPerChannel()
49 const int pad_height = params.padding_values.height; in DepthwiseConvPerChannel()
170 const int pad_width = params.padding_values.width; in DepthwiseConv()
171 const int pad_height = params.padding_values.height; in DepthwiseConv()
411 op_params.padding_values.width = data.padding.width; in EvalQuantizedPerChannel()
412 op_params.padding_values.height = data.padding.height; in EvalQuantizedPerChannel()
449 op_params.padding_values.width = data.padding.width; in EvalQuantized()
450 op_params.padding_values.height = data.padding.height; in EvalQuantized()
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dpadded_batch_test.py135 padding_values=[(-1, '<end>', {'structure': ''}),
137 def testPaddedBatchDatasetNonDefaultPadding(self, padding_values): argument
150 padding_values=padding_values))
189 2, padded_shapes=([None], [None]), padding_values=('', 0))
318 dataset = dataset.padded_batch(batch_size=2, padding_values=-1)
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DPaddedBatchDataset.pbtxt17 name: "padding_values"
60 name: "padding_values"

1234