Hi, how should I set the add_implementation function at the Relay frontend when I decide to use BYOC? Since I will not use the operator from `topi` ``` @override_native_generic_func("cumprod_strategy") def cumprod_strategy(attrs, inputs, out_type, target): """cumprod generic strategy""" strategy = _op.OpStrategy() strategy.add_implementation( wrap_compute_scanop(topi.cumprod), wrap_topi_schedule(topi.generic.schedule_extern), name="cumprod.generic", ) return strategy
@cumsum_strategy.register(["cuda", "gpu"]) def cumsum_strategy_cuda(attrs, inputs, out_type, target): """cumsum cuda strategy""" strategy = _op.OpStrategy() strategy.add_implementation( wrap_compute_scanop(topi.cuda.cumsum), wrap_topi_schedule(topi.cuda.schedule_scan), name="cumsum.cuda", ) return strategy ``` --- [Visit Topic](https://discuss.tvm.apache.org/t/byoc-codegen-for-customized-call-node-operator/11863/6) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/42c9d16cb46159cc06312cf7a77fa4cb9b202fb25436837f47a3f148ff1a3f5b).