You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/05/18 10:23:30 UTC
[GitHub] [incubator-mxnet] matteosal commented on issue #14983: Bug with
arange inside a foreach
matteosal commented on issue #14983: Bug with arange inside a foreach
URL: https://github.com/apache/incubator-mxnet/issues/14983#issuecomment-493666085
> Thanks for raising this! I am not super familiar with the arange operator, but through the error message, I saw its attributes like "start = 0, infer_range = true". I got a little bit confused so would love to confirm with you...Is it indicating that it is trying to generate [0, 0)?
>
> Thank you so much!
No, it means it is inferring the end of the interval from its output size, that is the input size of the node it's attached to: operator `elemwise_add` named `.Parameters.Net.Nodes.2$8`. So `arange` should generate [0, n), where n is the input length of `.Parameters.Net.Nodes.2$8`.
That should, in turn, infer its input shape from the output of the `broadcast_like` op named `.Parameters.Net.Nodes.2$7`, but apparently something is going wrong in the process.
----------------------------------------------------------------
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
With regards,
Apache Git Services