Closed Sundrops closed 3 years ago
Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue. Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly. If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on contributing to MXNet and our development guides wiki.
@Sundrops there's no need to use make_loss in Gluon as all values can be used as head gradients now.
The description of ndarray.make_loss is same as the description of symbol.makeloss. And it only explains symbol, not ndarray. I want to know what `F.make loss()
will do when I use
net.hybridize()and
loss.backward()`.https://mxnet.apache.org/versions/1.7.0/api/python/docs/api/ndarray/ndarray.html?highlight=make_loss#mxnet.ndarray.make_loss https://mxnet.apache.org/versions/1.7.0/api/python/docs/api/symbol/symbol.html#mxnet.symbol.make_loss