| 667 | } |
| 668 | |
| 669 | void NetworkImplDft::set_io(const NetworkIO& network_io) { |
| 670 | for (auto&& in : network_io.inputs) { |
| 671 | m_network_io->inputs.emplace_back(in); |
| 672 | } |
| 673 | for (auto&& out : network_io.outputs) { |
| 674 | m_network_io->outputs.emplace_back(out); |
| 675 | } |
| 676 | } |
| 677 | |
| 678 | void NetworkImplDft::try_infer_tensor_layout(std::shared_ptr<Tensor> tensor, Var var) { |
| 679 | using InferType = mgb::cg::static_infer::InferType; |
no test coverage detected