MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / RuntimePaddingType

Function RuntimePaddingType

tensorflow/lite/kernels/conv.cc:100–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98};
99
100inline PaddingType RuntimePaddingType(TfLitePadding padding) {
101 switch (padding) {
102 case TfLitePadding::kTfLitePaddingSame:
103 return PaddingType::kSame;
104 case TfLitePadding::kTfLitePaddingValid:
105 return PaddingType::kValid;
106 case TfLitePadding::kTfLitePaddingUnknown:
107 default:
108 return PaddingType::kNone;
109 }
110}
111
112void* Init(TfLiteContext* context, const char* buffer, size_t length) {
113 // This is a builtin op, so we don't use the contents in 'buffer', if any.

Callers 1

EvalFloatFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected