| 4 | #include "output_process.h" |
| 5 | |
| 6 | OIDN_NAMESPACE_BEGIN |
| 7 | |
| 8 | OutputProcess::OutputProcess(const OutputProcessDesc& desc) |
| 9 | : OutputProcessDesc(desc) |
| 10 | { |
| 11 | if (srcDesc.getRank() != 3) |
| 12 | throw std::invalid_argument("invalid output processing source shape"); |
| 13 | |
| 14 | setTile(0, 0, 0, 0, 0, 0); |
| 15 | } |
| 16 | |
| 17 | void OutputProcess::setSrc(const Ref<Tensor>& src) |
| 18 | { |