reminisce commented on a change in pull request #16621: [Numpy] Basic indexing
in symbolic interface of DeepNumpy
URL: https://github.com/apache/incubator-mxnet/pull/16621#discussion_r350470620
##########
File path: python/mxnet/symbol/numpy/_symbol.py
##########
@@ -4957,4 +5119,62 @@ def where(condition, x, y):
return _npi.where(condition, x, y, out=None)
+@set_module('mxnet.symbol.numpy')
+def load_json_string(json_str):
+ """
+ Loads symbol from json string.
+
+ Parameters
+ ----------
+ json_str : str
+ A JSON string.
+
+ Returns
+ -------
+ sym : Symbol
+ The loaded symbol.
+
+ See Also
+ --------
+ _Symbol.tojson : Used to save symbol into json string.
+ """
+ if not isinstance(json_str, string_types):
Review comment:
Reuse `mx.sym.load_json`?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services