/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | depthwiseconv_quantized_test.cc | 293 const RuntimeShape& bias_shape, int stride, PaddingType padding_type, in TestOneDepthwiseConvWithGivenOutputShift() argument 303 op_params.padding_type = padding_type; in TestOneDepthwiseConvWithGivenOutputShift() 426 const RuntimeShape& bias_shape, int stride, PaddingType padding_type, in TestOneDepthwiseConvBisectOutputShift() argument 438 filter_shape, filter_offset, bias_data, bias_shape, stride, padding_type, in TestOneDepthwiseConvBisectOutputShift() 465 filter_shape, filter_offset, bias_data, bias_shape, stride, padding_type, in TestOneDepthwiseConvBisectOutputShift() 476 const RuntimeShape& bias_shape, int stride, PaddingType padding_type, in TestOneDepthwiseConv() argument 483 filter_shape, filter_offset, bias_data, bias_shape, stride, padding_type, in TestOneDepthwiseConv() 494 PaddingType padding_type) { in TryTestDepthwiseConv() argument 526 dilation_height_factor, padding_type, in TryTestDepthwiseConv() 544 bias_data.data(), bias_shape_inference, stride, padding_type, pad_width, in TryTestDepthwiseConv() [all …]
|
D | test_util.cc | 26 PaddingType padding_type, RuntimeShape* output_shape, in ComputeConvSizes() argument 37 if (padding_type == PaddingType::kValid) { in ComputeConvSizes() 45 } else if (padding_type == PaddingType::kSame) { in ComputeConvSizes()
|
D | depthwiseconv_float_test.cc | 104 const auto padding_type = in TryTestOneDepthwiseConv() local 108 dilation_height_factor, padding_type, in TryTestOneDepthwiseConv() 128 op_params.padding_type = PaddingType::kSame; in TryTestOneDepthwiseConv()
|
D | test_util.h | 33 PaddingType padding_type, RuntimeShape* output_shape,
|
/external/tensorflow/tensorflow/core/framework/ |
D | common_shape_fns.h | 76 Padding padding_type, int64* output_size, 105 Padding padding_type, int64* output_size, 116 int64 stride, Padding padding_type, 124 Padding padding_type, int64* output_size, 137 Padding padding_type, std::array<int64, 3>* output_ptr, 146 Padding padding_type, std::array<int64, 3>* output_ptr, 156 int64 stride, Padding padding_type, 166 Padding padding_type, int64 padding_before, int64 padding_after,
|
D | common_shape_fns.cc | 23 Padding padding_type, int64* output_size, in GetWindowedOutputSizeVerboseV2() argument 36 switch (padding_type) { in GetWindowedOutputSizeVerboseV2() 68 int64 stride, Padding padding_type, in GetWindowedOutputSizeVerbose() argument 73 padding_type, output_size, in GetWindowedOutputSizeVerbose() 78 Padding padding_type, int64* output_size, in GetWindowedOutputSize() argument 80 if (padding_type == Padding::EXPLICIT) { in GetWindowedOutputSize() 87 padding_type, output_size, padding_size, in GetWindowedOutputSize() 93 Padding padding_type, int64* output_size, in GetWindowedOutputSizeV2() argument 95 if (padding_type == Padding::EXPLICIT) { in GetWindowedOutputSizeV2() 102 stride, padding_type, output_size, in GetWindowedOutputSizeV2() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | eigen_pooling.h | 66 DenseIndex strideCols, const PaddingType padding_type, 95 if (padding_type == PADDING_VALID) { 133 in_strideCols, padding_type, 183 DenseIndex strideCols, const PaddingType padding_type) { in CuboidMaxPooling() argument 208 if (padding_type == PADDING_VALID) { in CuboidMaxPooling() 251 strideRows, strideCols, padding_type, in CuboidMaxPooling() 423 DenseIndex strideCols, const PaddingType padding_type, 452 if (padding_type == PADDING_VALID) { 492 in_strideRows, in_strideCols, padding_type, 539 DenseIndex strideCols, const PaddingType padding_type) { [all …]
|
D | mkl_conv_ops.h | 395 Padding padding_type; variable 397 padding_type = Padding::EXPLICIT; 403 padding_type = padding_; 408 padding_type, &out_rows, &pad_top, &pad_bottom)); 412 padding_type, &out_cols, &pad_left, &pad_right));
|
D | pooling_ops_3d.cc | 106 TensorFormat data_format, Padding padding_type, in launch() 111 BrainPadding2EigenPadding(padding_type)); in launch() 121 TensorFormat data_format, Padding padding_type, in launch() 126 BrainPadding2EigenPadding(padding_type)); in launch() 749 TensorFormat data_format, Padding padding_type, in launch() 762 TensorFormat data_format, Padding padding_type, in launch()
|
/external/tensorflow/tensorflow/core/util/ |
D | padding.cc | 40 Status CheckValidPadding(Padding padding_type, in CheckValidPadding() argument 43 if (padding_type == Padding::EXPLICIT) { in CheckValidPadding()
|
D | padding.h | 49 Status CheckValidPadding(Padding padding_type,
|
/external/tensorflow/tensorflow/python/framework/ |
D | common_shapes.py | 118 def get_conv_output_size(input_size, filter_size, strides, padding_type): argument 132 if padding_type == b"VALID": 144 elif padding_type == b"SAME": 155 raise ValueError("Invalid padding: %r" % padding_type) 161 filter_width, row_stride, col_stride, padding_type): argument 165 (row_stride, col_stride), padding_type)
|
/external/tensorflow/tensorflow/contrib/fused_conv/python/ops/ |
D | fused_conv2d_bias_activation_op_test_base.py | 616 def _CalculateConvolvedOutputDim(input_dim, filter_dim, stride, padding_type): argument 633 if padding_type == "VALID": 870 padding_type = test_param["padding_type"] 891 input_height, filter_height, vertical_stride, padding_type) 893 input_width, filter_width, horizontal_stride, padding_type) 918 padding=padding_type, 927 conv_input_scale, conv_input, kernel, padding_type, strides,
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | conv_grad_size_util.cc | 26 Padding padding_type) { in GetWindowedOutputSize() argument 38 switch (padding_type) { in GetWindowedOutputSize()
|
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/ |
D | eigen_spatial_convolutions.h | 100 const PaddingType padding_type = PADDING_SAME, 147 switch (padding_type) { 219 row_in_stride, col_in_stride, padding_type)
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | eigen_spatial_convolutions.h | 97 const PaddingType padding_type = PADDING_SAME, 144 switch (padding_type) { 216 row_in_stride, col_in_stride, padding_type)
|
/external/tensorflow/tensorflow/compiler/xla/python/ |
D | xla_client.py | 250 def _convert_padding_type_to_pad_values(padding_type, lhs_dims, rhs_dims, argument 253 if not isinstance(padding_type, (str, PaddingType)): 255 raise TypeError(msg.format(type(padding_type))) 257 if isinstance(padding_type, str): 258 if padding_type.upper() == 'VALID': 259 padding_type = PaddingType.VALID 260 elif padding_type.upper() == 'SAME': 261 padding_type = PaddingType.SAME 264 raise ValueError(msg.format(padding_type)) 266 if padding_type == PaddingType.VALID: [all …]
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | depthwise_conv.cc | 208 op_params.padding_type = PaddingType::kSame; in EvalFloat() 245 op_params.padding_type = PaddingType::kSame; in EvalQuantized() 273 op_params.padding_type = PaddingType::kSame; in EvalQuantizedPerChannel()
|
D | depthwise_conv_test.cc | 47 Padding padding_type, in BaseDepthwiseConvolutionOpModel() argument 99 CreateDepthwiseConv2DOptions(builder_, padding_type, 1, 1, depth_mul, in BaseDepthwiseConvolutionOpModel()
|
D | conv.cc | 446 op_params.padding_type = PaddingType::kSame; in EvalQuantized() 473 op_params.padding_type = PaddingType::kSame; in EvalQuantized() 540 op_params.padding_type = RuntimePaddingType(params->padding); in EvalFloat() 641 op_params.padding_type = PaddingType::kSame; in EvalHybrid()
|
/external/tensorflow/tensorflow/lite/toco/tflite/ |
D | types.h | 44 static ::tflite::Padding Serialize(PaddingType padding_type);
|
D | types.cc | 188 ::tflite::Padding Padding::Serialize(PaddingType padding_type) { in Serialize() argument 189 switch (padding_type) { in Serialize()
|
/external/tensorflow/tensorflow/lite/experimental/micro/kernels/ |
D | depthwise_conv.cc | 104 op_params.padding_type = PaddingType::kSame; in EvalFloat() 132 op_params.padding_type = PaddingType::kSame; in EvalQuantized()
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorImagePatch.h | 72 … PaddingType padding_type, Scalar padding_value) 78 m_padding_type(padding_type), m_padding_value(padding_value) {} 122 PaddingType padding_type() const { return m_padding_type; } 227 switch (op.padding_type()) {
|
D | TensorVolumePatch.h | 67 … PaddingType padding_type, Scalar padding_value) 73 m_padding_type(padding_type), m_padding_value(padding_value) {} 130 PaddingType padding_type() const { return m_padding_type; } 238 switch (op.padding_type()) {
|