Compiling a library and graph jointly

I’m working on an application that needs the graph structure to be difficult to reverse engineer. Using the typical TVM/Relay runtime produces a very easy to parse json graph and parameter dictionary. I was wondering if anyone knows of a good way to compile the produced library, graph, and maybe even parameters into a single linkable library. Alternatively, transforming the produced library and graph into raw source code might get the job done. I’d really appreciate any pointers on the right way to do that.

1 Like