You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by Aurel333 via TVM Discuss <no...@discuss.tvm.ai> on 2020/06/26 14:27:51 UTC

[TVM Discuss] [Questions] [Relay] Exporting and importing Relay graph


I tried to export a Relay graph to a file and import it back with  mod._import(path_to_saved_graph) but it fails to parse the saved filed. I looked for a solution and I came to the conclusion that while I can dump a readable representation of the Relay graph, it is not possible to import it back to TVM with this method because of the impossibility to parse '?'.

I know it is possible to export the outputs of relay.build but I am trying to obtain a target agnostic graph.

So how to export a Relay graph generated from a frontend (for example from relay.frontend.from_tensorflow) and import it back to TVM to build it?

Thanks in advance for your help!





---
[Visit Topic](https://discuss.tvm.ai/t/relay-exporting-and-importing-relay-graph/7104/1) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/7a04aee0886451df149f6f27c9e1ee07b00e480e3962b3ff8c26e3cb2b5b33e3).