[GitHub] kpot commented on issue #8337: mx.autograd.grad works or fails depending on use of slices

2018-04-07 Thread GitBox
kpot commented on issue #8337: mx.autograd.grad works or fails depending on use of slices URL: https://github.com/apache/incubator-mxnet/issues/8337#issuecomment-379471987 @roywei To be honest, over the last months I've already lost the context and don't remember what I was using the

[GitHub] kpot commented on issue #8337: mx.autograd.grad works or fails depending on use of slices

2017-10-19 Thread GitBox
kpot commented on issue #8337: mx.autograd.grad works or fails depending on use of slices URL: https://github.com/apache/incubator-mxnet/issues/8337#issuecomment-338047855 @piiswrong Is there any better way to get the graph/symbol from autograd? Because the method I use seems logical to

[GitHub] kpot commented on issue #8337: mx.autograd.grad works or fails depending on use of slices

2017-10-18 Thread GitBox
kpot commented on issue #8337: mx.autograd.grad works or fails depending on use of slices URL: https://github.com/apache/incubator-mxnet/issues/8337#issuecomment-337796013 @ZiyueHuang Yes, I think the empty line is indeed the argument `''`. But when I replace `mx.nd.ones_like(b)` with

[GitHub] kpot commented on issue #8337: mx.autograd.grad works or fails depending on use of slices

2017-10-18 Thread GitBox
kpot commented on issue #8337: mx.autograd.grad works or fails depending on use of slices URL: https://github.com/apache/incubator-mxnet/issues/8337#issuecomment-337794186 @ZiyueHuang `a`s first dimension is 4, and slicing it like `a[0:4]` is absolutely valid and I didn't care about

[GitHub] kpot commented on issue #8337: mx.autograd.grad works or fails depending on use of slices

2017-10-18 Thread GitBox
kpot commented on issue #8337: mx.autograd.grad works or fails depending on use of slices URL: https://github.com/apache/incubator-mxnet/issues/8337#issuecomment-337678517 I'm afraid you miss the point. The failing code works fine being run using ordinary `.backward()` call: ```