Closed ljulliar closed 6 years ago
@ljulliar The number of positional argument of zeros_like
is 1, but not 2.
Sorry for that. It was a stupid question. I didn't even look at the documentation and wrongly assumed that zeros_like and ones_like had the same logic as reshape_like.
Hi,
I'm currently trying to implement NDArray.zeros_like (see https://mxnet.incubator.apache.org/api/python/ndarray/ndarray.html#mxnet.ndarray.NDArray.zeros_like )
I tried writing something like
But then I get the following error when trying to call the method:
It looks like operation delegation only works form method with one fixed position argument whereas zeros_like has two. How to work around that ?
Thank you.