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/03/12 19:55:16 UTC

[GitHub] [incubator-mxnet] kiendang commented on issue #14402: Scala arange Flaky test

kiendang commented on issue #14402: Scala arange Flaky test
URL: https://github.com/apache/incubator-mxnet/issues/14402#issuecomment-472156661
 
 
   Sorry. I'm taking a look at this.
   > Looks like start isn't being passed to NDArray.arrange but it's a required parameter.
   
   The value of `stop` was passed to `start` in both tests. Those two tests were added to test situations where no value is passed to `stop` (`stop = None`). The intended behavior would be what happens when `start = 0`  and `stop = Some(<value passed to start>)` as whatever was , e.g `NDArray.arange(5)` should be the same as `NDArray.arange(0, Some(5))`.
   https://github.com/apache/incubator-mxnet/blob/30b1cbc1d862f8c5c1f91d0a9f048aef5771f9de/src/operator/tensor/init_op.h#L202-L205

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