| 59 | // AddUpdate |
| 60 | template <> |
| 61 | uint64_t opr_footprint_func<opr::AddUpdate>(cg::OperatorNodeBase* opr) { |
| 62 | mgb_assert(opr->input().size() == 2, "AddUpdate opr should have two inputs"); |
| 63 | auto&& out_shape = opr->output()[0]->shape(); |
| 64 | return out_shape.total_nr_elems() * 3; |
| 65 | } |
| 66 | |
| 67 | template <class Conv> |
| 68 | uint64_t eval_conv_computation( |
nothing calls this directly
no test coverage detected