| 16 | { |
| 17 | public: |
| 18 | PaddingPlugin(DimsNCHW pad_start, DimsNCHW pad_end, ILogger& log, std::string name): |
| 19 | pad_start_(pad_start), pad_end_(pad_end), log_(log), name_(name) |
| 20 | { |
| 21 | // Only D end padding is currently supported. |
| 22 | assert(pad_start_.n() == 0); |
| 23 | assert(pad_start_.c() == 0); |
| 24 | assert(pad_start_.h() == 0); |
| 25 | assert(pad_start_.w() == 0); |
| 26 | |
| 27 | assert(pad_end_.n() >= 0); |
| 28 | assert(pad_end_.c() == 0); |
| 29 | assert(pad_end_.h() == 0); |
| 30 | assert(pad_end_.w() == 0); |
| 31 | } |
| 32 | |
| 33 | PaddingPlugin(PaddingPlugin&&) = delete; |
| 34 |
nothing calls this directly
no outgoing calls
no test coverage detected