szha commented on issue #19722:
URL: 
https://github.com/apache/incubator-mxnet/issues/19722#issuecomment-754630802


   You can use the shape_array function on arrays to retrieve shapes as an 
MXNet managed array (i.e. symbol/ndarray) and use that to retrieve the 
num_categories as a scalar array through indexing


----------------------------------------------------------------
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to