As far as I know, tvmscript can be embeded into python file and then be processed. Is it possible to store the tvmscript into a seperate file and then load it into python file for processing? Anyone knows? Thank you~
The easiest way to store any TVM Object to a file is to just use the tvm.ir.save_json
function to get a json string that can be written to a file. If you want to keep it in the form of TVMScript in a file, why not just save it as a python file, and just import it like any other python module.
I see. Thanks for your kindly reply.