def METHOD_NAME(self, target=None):
    runtime_module = tvm.METHOD_NAME(self.ir_module, target=target)
    func = tvm.get_global_func("tvmtorch.save_runtime_mod", allow_missing=True)
    if func is None:
        raise ValueError('as_torch requires the flag /"USE_PT_TVMDSOOP/" set in config.cmake')
    func(runtime_module)
    self.rt_module = torch.classes.tvm_torch.OperatorModuleWrapper()