1. You are right, we actually tried to save the runtime.Module. We actually
also added the TIR export to the runtime.Module because the generated source
code is also put to it. We will try the different options you proposed as soon
as we can find the time.
2. In the meantime we have written an
Hi,
thanks for the reference to this function. I was not aware of it.
However I tried it on a Module(c) and got this:
`{
"root": 1,
"nodes": [
{
"type_key": ""
},
{
"type_key": "runtime.Module"
}
],
"b64ndarrays": [],
"attrs": {"tvm_version": "0.9.dev0"
We propose to implement an API to TVM that allows users to export the TIR
representation of the generated kernels as json.
**Motivation**
Json is a standard file format and can easily be processed in python, for
example. A json interface allows to analyze the generated kernels target
agnos