| 288 | } |
| 289 | |
| 290 | void ConvolutionForward::init_output_format() { |
| 291 | mgb_assert(output().size() == 2); |
| 292 | output(0)->format(input(0)->format()); |
| 293 | } |
| 294 | |
| 295 | void ConvolutionForward::scn_do_execute() { |
| 296 | if (input(0)->dev_tensor().layout().is_empty() || |
nothing calls this directly
no test coverage detected