| 19 | } |
| 20 | |
| 21 | auto apply_on_var_node(const OpDef& def, const VarNodeArray& inputs) { |
| 22 | auto&& conv = static_cast<const Convolution&>(def); |
| 23 | OperatorNodeConfig config{conv.make_name()}; |
| 24 | return opr::Convolution::make( |
| 25 | inputs[0], inputs[1], conv.param(), conv.policy(), config); |
| 26 | } |
| 27 | |
| 28 | std::tuple<SmallVector<LogicalTensorDesc>, bool> infer_output_attrs_fallible( |
| 29 | const OpDef& def, const SmallVector<LogicalTensorDesc>& inputs) { |
nothing calls this directly
no test coverage detected