Yeah–this is just a shortcut: tvm/python/tvm/target/target.py at main · apache/tvm · GitHub
The tar file is located at model_library_format_path
. This is chosen to be a tempfile in the script, but you could choose any path you want (just replace the lines leading up to export_model_library_format
).
The docs for each might help explain a bit more. If there are confusing parts, it would be great to hear (feel free to report or submit a PR):