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

Function GetPadding

tensorflow/lite/kernels/mirror_pad.cc:76–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74// Helper method that fills the left and right pads.
75template <typename T>
76inline void GetPadding(const T* data, int offset, int64_t* left_pad,
77 int64_t* right_pad) {
78 *left_pad = static_cast<int64_t>(*(data + offset * 2));
79 *right_pad = static_cast<int64_t>(*(data + offset * 2 + 1));
80}
81
82inline void GetPadding(const TfLiteTensor* padding_matrix, int dimension,
83 int64_t* left_pad, int64_t* right_pad) {

Callers 2

EvalFunction · 0.70
GetPaddedOutputShapeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected