Home
last modified time | relevance | path

Searched refs:TfLitePadding (Results 1 – 21 of 21) sorted by relevance

/external/tensorflow/tensorflow/lite/micro/kernels/
Dkernel_util.cc40 PaddingType RuntimePaddingType(TfLitePadding padding) { in RuntimePaddingType()
42 case TfLitePadding::kTfLitePaddingSame: in RuntimePaddingType()
44 case TfLitePadding::kTfLitePaddingValid: in RuntimePaddingType()
46 case TfLitePadding::kTfLitePaddingUnknown: in RuntimePaddingType()
Dtranspose_conv.cc55 inline PaddingType RuntimePaddingType(TfLitePadding padding) { in RuntimePaddingType()
57 case TfLitePadding::kTfLitePaddingSame: in RuntimePaddingType()
59 case TfLitePadding::kTfLitePaddingValid: in RuntimePaddingType()
61 case TfLitePadding::kTfLitePaddingUnknown: in RuntimePaddingType()
Dpooling_test.cc34 TfLitePadding padding, in ValidatePoolingGoldens()
65 const int* output_dims_data, TfLitePadding padding, in TestAveragePoolFloat()
96 TfLitePadding padding, TfLiteFusedActivation activation, T* output_data) { in TestAveragePoolQuantized()
124 const int* output_dims_data, TfLitePadding padding, in TestMaxPoolFloat()
153 const int output_zero_point, TfLitePadding padding, in TestMaxPoolQuantized()
Dkernel_util.h73 PaddingType RuntimePaddingType(TfLitePadding padding);
/external/tensorflow/tensorflow/lite/c/
Dbuiltin_op_data.h45 } TfLitePadding; typedef
79 TfLitePadding padding;
91 TfLitePadding padding;
102 TfLitePadding padding;
115 TfLitePadding padding;
410 TfLitePadding padding;
Dbuiltin_op_data_test.cc27 TfLitePadding padding = kTfLitePaddingSame; in TEST()
/external/tensorflow/tensorflow/lite/kernels/
Dpadding.h45 inline int ComputeOutSize(TfLitePadding padding, int image_size,
61 int filter_width, TfLitePadding padding, int* out_height, int* out_width) { in ComputePaddingHeightWidth()
84 int filter_width, int filter_depth, TfLitePadding padding, int* out_height, in ComputePadding3DValues()
Dconv.cc115 inline PaddingType RuntimePaddingType(TfLitePadding padding) { in RuntimePaddingType()
117 case TfLitePadding::kTfLitePaddingSame: in RuntimePaddingType()
119 case TfLitePadding::kTfLitePaddingValid: in RuntimePaddingType()
121 case TfLitePadding::kTfLitePaddingUnknown: in RuntimePaddingType()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_operator.cc40 StatusOr<mlir::StringAttr> GetPaddingAttr(TfLitePadding pad_params, in GetPaddingAttr()
44 if (pad_params == TfLitePadding::kTfLitePaddingSame) { in GetPaddingAttr()
46 } else if (pad_params == TfLitePadding::kTfLitePaddingValid) { in GetPaddingAttr()
Dflatbuffer_export.cc384 static Optional<TfLitePadding> GetTflitePadding(Operation* inst, in GetTflitePadding()
/external/tensorflow/tensorflow/lite/kernels/perception/
Dmax_pool_with_argmax_test.cc38 int filter_width, TfLitePadding padding, in MaxpoolingWithArgMaxOpModel()
71 TfLitePadding padding) { in CreateCustomOptions()
Dmax_unpooling_2d_test.cc36 int filter_width, TfLitePadding padding, in MaxUnpoolingOpModel()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Doperation_parser.h66 void UpdatePadding(const TfLitePadding& padding, const BHWC& input_shape, in UpdatePadding()
/external/tensorflow/tensorflow/lite/tools/serialization/
Denum_mapping.h46 inline Padding TfLitePaddingToSchemaPadding(TfLitePadding padding) { in TfLitePaddingToSchemaPadding()
/external/tensorflow/tensorflow/lite/micro/kernels/arc_mli/
Dconv.cc81 inline PaddingType RuntimePaddingType(TfLitePadding padding) { in RuntimePaddingType()
83 case TfLitePadding::kTfLitePaddingSame: in RuntimePaddingType()
85 case TfLitePadding::kTfLitePaddingValid: in RuntimePaddingType()
87 case TfLitePadding::kTfLitePaddingUnknown: in RuntimePaddingType()
Dpooling_slicing_test.cc42 float output_min, float output_max, TfLitePadding padding, in TestAveragePoolingQuantized()
113 const int* output_dims_data, TfLitePadding padding, in TestMaxPoolQuantized()
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/
Dconv_2d_builder.cc41 const TfLitePadding padding_type, in ComputeSpaceToBatchParams()
141 TfLitePadding padding_type = kTfLitePaddingUnknown; in PopulateSubGraph()
/external/tensorflow/tensorflow/lite/g3doc/guide/
Dops_version.md80 TfLitePadding padding;
94 TfLitePadding padding;
/external/tensorflow/tensorflow/lite/delegates/coreml/builders/
Dconvolution_op_builder.cc53 TfLitePadding padding; in Build()
/external/tensorflow/tensorflow/lite/core/api/
Dflatbuffer_conversions.cc124 TfLitePadding ConvertPadding(Padding padding) { in ConvertPadding()
/external/tensorflow/tensorflow/lite/delegates/xnnpack/
Dxnnpack_delegate.cc320 TfLitePadding padding, uint32_t* flags, in CalculatePadding()