| 16 | class LoopGradSerializer { |
| 17 | template <class Opr> |
| 18 | static cg::OperatorNodeBase* wrap_shallow_copy( |
| 19 | const OprShallowCopyContext& ctx, const cg::OperatorNodeBase& opr, |
| 20 | const VarNodeArray& inputs, const OperatorNodeConfig& config) { |
| 21 | MGB_MARK_USED_VAR(ctx); |
| 22 | return opr.cast_final_safe<Opr>().shallow_copy(inputs, config); |
| 23 | } |
| 24 | |
| 25 | public: |
| 26 | static void reg_all(); |
nothing calls this directly
no test coverage detected