| 26 | } |
| 27 | |
| 28 | void Pool::setDst(const Ref<Tensor>& dst) |
| 29 | { |
| 30 | if (!dst || dst->getDesc() != dstDesc) |
| 31 | throw std::invalid_argument("invalid pooling destination"); |
| 32 | |
| 33 | this->dst = dst; |
| 34 | updateDst(); |
| 35 | } |
| 36 | |
| 37 | OIDN_NAMESPACE_END |
no outgoing calls
no test coverage detected