/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | kernel_util.cc | 40 PaddingType RuntimePaddingType(TfLitePadding padding) { in RuntimePaddingType() 43 return PaddingType::kSame; in RuntimePaddingType() 45 return PaddingType::kValid; in RuntimePaddingType() 48 return PaddingType::kNone; in RuntimePaddingType()
|
D | transpose_conv.cc | 55 inline PaddingType RuntimePaddingType(TfLitePadding padding) { in RuntimePaddingType() 58 return PaddingType::kSame; in RuntimePaddingType() 60 return PaddingType::kValid; in RuntimePaddingType() 63 return PaddingType::kNone; in RuntimePaddingType()
|
D | depthwise_conv.cc | 178 op_params.padding_type = PaddingType::kSame; in EvalFloat() 207 op_params.padding_type = PaddingType::kSame; in EvalQuantizedPerChannel() 245 op_params.padding_type = PaddingType::kSame; in EvalQuantized()
|
D | kernel_util.h | 73 PaddingType RuntimePaddingType(TfLitePadding padding);
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | multithreaded_conv.h | 72 Eigen::PaddingType RuntimePadding2EigenPadding(PaddingType padding) { in RuntimePadding2EigenPadding() 74 case PaddingType::kValid: in RuntimePadding2EigenPadding() 76 case PaddingType::kSame: in RuntimePadding2EigenPadding() 78 case PaddingType::kNone: in RuntimePadding2EigenPadding() 92 PaddingType padding, T* output_data, int output_height, in operator() 151 const PaddingType padding = params.padding_type; in Conv()
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | conv_op_helpers.cc | 246 xla::PaddingType padding_type = xla::PaddingType::PADDING_INVALID; in MakeXlaForwardConvOp() 253 padding_type = xla::PaddingType::PADDING_VALID; in MakeXlaForwardConvOp() 256 padding_type = xla::PaddingType::PADDING_SAME; in MakeXlaForwardConvOp() 277 if (padding_type != xla::PaddingType::PADDING_INVALID) { in MakeXlaForwardConvOp() 343 xla::PaddingType padding_type = xla::PaddingType::PADDING_INVALID; in MakeXlaBackpropInputConvOp() 350 padding_type = xla::PaddingType::PADDING_VALID; in MakeXlaBackpropInputConvOp() 353 padding_type = xla::PaddingType::PADDING_SAME; in MakeXlaBackpropInputConvOp() 373 if (padding_type != xla::PaddingType::PADDING_INVALID) { in MakeXlaBackpropInputConvOp() 459 xla::PaddingType padding_type = xla::PaddingType::PADDING_INVALID; in MakeXlaBackpropFilterConvOp() 466 padding_type = xla::PaddingType::PADDING_VALID; in MakeXlaBackpropFilterConvOp() [all …]
|
/external/tensorflow/tensorflow/lite/toco/tflite/ |
D | types.cc | 196 ::tflite::Padding Padding::Serialize(PaddingType padding_type) { in Serialize() 198 case PaddingType::kSame: in Serialize() 200 case PaddingType::kValid: in Serialize() 207 PaddingType Padding::Deserialize(int padding) { in Deserialize() 210 return PaddingType::kSame; in Deserialize() 212 return PaddingType::kValid; in Deserialize()
|
D | types.h | 44 static ::tflite::Padding Serialize(PaddingType padding_type); 45 static PaddingType Deserialize(int padding);
|
D | types_test.cc | 193 EXPECT_EQ(::tflite::Padding_SAME, Padding::Serialize(PaddingType::kSame)); in TEST() 194 EXPECT_EQ(PaddingType::kSame, Padding::Deserialize(::tflite::Padding_SAME)); in TEST() 196 EXPECT_EQ(::tflite::Padding_VALID, Padding::Serialize(PaddingType::kValid)); in TEST() 197 EXPECT_EQ(PaddingType::kValid, Padding::Deserialize(::tflite::Padding_VALID)); in TEST() 199 EXPECT_DEATH(Padding::Serialize(static_cast<PaddingType>(10000)), in TEST()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | dynamic_window_utils.h | 41 PaddingType padding_type); 47 PaddingType padding_type);
|
D | dynamic_window_utils.cc | 104 PaddingType padding_type) { in GetWindowedOutputSize() 111 if (padding_type == PaddingType::PADDING_VALID) { in GetWindowedOutputSize() 116 } else if (padding_type == PaddingType::PADDING_SAME) { in GetWindowedOutputSize() 133 PaddingType padding_type) { in GetWindowedInputGradSize()
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | test_util.cc | 26 PaddingType padding_type, RuntimeShape* output_shape, in ComputeConvSizes() 37 if (padding_type == PaddingType::kValid) { in ComputeConvSizes() 45 } else if (padding_type == PaddingType::kSame) { in ComputeConvSizes()
|
D | depthwiseconv_float_test.cc | 108 UniformRandomInt(0, 1) ? PaddingType::kSame : PaddingType::kValid; in TryTestOneDepthwiseConv() 131 op_params.padding_type = PaddingType::kSame; in TryTestOneDepthwiseConv()
|
D | depthwiseconv_quantized_test.cc | 619 PaddingType padding_type, int pad_width, int pad_height, in TestOneDepthwiseConvWithGivenOutputShift() 756 PaddingType padding_type, int pad_width, int pad_height, in TestOneDepthwiseConvBisectOutputShift() 815 PaddingType padding_type, int pad_width, int pad_height, in TestOneDepthwiseConv() 835 PaddingType padding_type) { in TryTestDepthwiseConv() 968 UniformRandomInt(0, 1) ? PaddingType::kSame : PaddingType::kValid; in TryTestOneDepthwiseConv() 991 UniformRandomInt(0, 1) ? PaddingType::kSame : PaddingType::kValid; in TryTestOneDepthwiseConv3x3Filter() 999 if (padding_type == PaddingType::kSame && stride == 2) { in TryTestOneDepthwiseConv3x3Filter() 1006 if (padding_type == PaddingType::kSame && in TryTestOneDepthwiseConv3x3Filter() 1046 test_param.test_pad ? PaddingType::kSame : PaddingType::kValid; in TryTestOneNeonDot3x3()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | maxpooling_op.h | 34 const Eigen::PaddingType& padding) { in operator() 47 const Eigen::PaddingType& padding) {}
|
D | conv_2d.h | 33 const Eigen::PaddingType& padding, 53 const Eigen::PaddingType& padding, in operator() 67 col_dilation, Eigen::PaddingType::PADDING_VALID, output_kernel, in operator() 79 int col_dilation, const Eigen::PaddingType& padding, 98 Eigen::PaddingType::PADDING_VALID, col_dilation, row_dilation,
|
D | avgpooling_op.h | 32 const Eigen::PaddingType& padding) { in operator()
|
D | eigen_pooling.h | 66 DenseIndex strideCols, const PaddingType padding_type, 183 DenseIndex strideCols, const PaddingType padding_type) { in CuboidMaxPooling() 426 DenseIndex strideCols, const PaddingType padding_type, 542 DenseIndex strideCols, const PaddingType padding_type) {
|
/external/tensorflow/tensorflow/compiler/xla/python/ |
D | xla_client.py | 384 class PaddingType(enum.Enum): class 392 if not isinstance(padding_type, (str, PaddingType)): 398 padding_type = PaddingType.VALID 400 padding_type = PaddingType.SAME 405 if padding_type == PaddingType.VALID: 407 elif padding_type == PaddingType.SAME:
|
/external/clang/include/clang/CodeGen/ |
D | CGFunctionInfo.h | 82 llvm::Type *PaddingType; // canHavePaddingType() member 104 PaddingType = T; in setPaddingType() 118 : TypeData(nullptr), PaddingType(nullptr), DirectOffset(0), in ABIArgInfo() 258 return (canHavePaddingType() ? PaddingType : nullptr); in getPaddingType()
|
/external/tensorflow/tensorflow/core/kernels/image/ |
D | extract_image_patches_op.h | 31 const Eigen::PaddingType& padding, in operator()
|
D | extract_volume_patches_op.h | 33 const Eigen::PaddingType& padding, in operator()
|
/external/tensorflow/tensorflow/core/framework/ |
D | ops_util.cc | 27 Eigen::PaddingType BrainPadding2EigenPadding(Padding padding) { in BrainPadding2EigenPadding()
|
/external/llvm-project/clang/include/clang/CodeGen/ |
D | CGFunctionInfo.h | 93 llvm::Type *PaddingType; // canHavePaddingType() member 119 PaddingType = T; in setPaddingType() 129 : TypeData(nullptr), PaddingType(nullptr), DirectOffset(0), TheKind(K), in TypeData() 319 return (canHavePaddingType() ? PaddingType : nullptr); in getPaddingType()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | depthwise_conv.cc | 304 op_params.padding_type = PaddingType::kSame; in EvalFloat() 343 op_params.padding_type = PaddingType::kSame; in EvalQuantized() 384 op_params.padding_type = PaddingType::kSame; in EvalQuantizedPerChannel() 425 op_params.padding_type = PaddingType::kSame; in EvalQuantizedPerChannel16x8() 485 op_params.padding_type = PaddingType::kSame; in EvalHybridPerChannel()
|