| 74 | // Helper method that fills the left and right pads. |
| 75 | template <typename T> |
| 76 | inline 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 | |
| 82 | inline void GetPadding(const TfLiteTensor* padding_matrix, int dimension, |
| 83 | int64_t* left_pad, int64_t* right_pad) { |
no outgoing calls
no test coverage detected