you can workaround this issue by saving-and-reloading module.so file, refer to the test_add() demo in [tvm/tests/python/unittest/test_target_codegen_c_host.py at main · apache/tvm · GitHub](https://github.com/apache/tvm/blob/main/tests/python/unittest/test_target_codegen_c_host.py)
别问我怎么知道的,反正目前我还没有把tvm.build()完全看懂,待我继续修炼TVM功力,直接正面解一下该bug, 干! --- [Visit Topic](https://discuss.tvm.apache.org/t/attributeerror-module-has-no-function-tvm-main/13069/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/0d430c4587fe1f3527f90d02343d819786e8257b7e8e72c4efd9a0e7ec90bacc).