| 17 | } |
| 18 | |
| 19 | void Pool::setSrc(const Ref<Tensor>& src) |
| 20 | { |
| 21 | if (!src || src->getDesc() != srcDesc) |
| 22 | throw std::invalid_argument("invalid pooling source"); |
| 23 | |
| 24 | this->src = src; |
| 25 | updateSrc(); |
| 26 | } |
| 27 | |
| 28 | void Pool::setDst(const Ref<Tensor>& dst) |
| 29 | { |
no outgoing calls
no test coverage detected