Trying to understand some Scala's code on network training in MXNet.
I believe you can access gradient on the executor in Scala by calling networkExecutor.gradDict("data")
, what would be equivalent of it in Python MXNet?
Thanks!
How about grad_dict
in executor? It returns a dictionary representation of the gradient arrays.