Exporting mxnet compute graph to json?

Is there a way to get the compute graph of a model as a json string without export()? I would like to avoid saving to file and loading it back.

Sorry for short form I’m on mobile. Pass a mx.sym.Variable("data") through your graph and then call .tojson() on the resulting symbol

1 Like

Thank you, this is exactly what I wanted.