You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/10/14 12:28:55 UTC

[GitHub] [incubator-mxnet] fhieber opened a new issue #19348: Operator to return number of dimensions of an input

fhieber opened a new issue #19348:
URL: https://github.com/apache/incubator-mxnet/issues/19348


   ## Description
   There is `F.shape_array()` returning the shape tuple and `F.size_array()` returning the number of elements. However, there does not seem to be a way to compute the number of dimensions of a tensor within a computation graph directly.
   
   Of course `F.size_array(F.shape_array(x))` is a possible workaround, but it would be more efficient to implement this within a single operator/kernel.
   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org