I was trying 'broadcast_like' using the given example in the API docs, like
this:
```
import mxnet as mx
x = mx.nd.arange(0,3).reshape((1,3,1))
x.asnumpy()
y = x.broadcast_like(mx.nd.ones((2,3,3)))
y.asnumpy()
```
, and, in Jupyter Notebook, got an error like:
```
AttributeError Traceback (most recent call last)
<ipython-input-4-cec7b4c13665> in <module>()
1 x = mx.nd.arange(0,3).reshape((1,3,1))
2 x.asnumpy()
----> 3 y = x.broadcast_like(mx.nd.ones((2,3,3)))
4 y.asnumpy()
AttributeError: 'NDArray' object has no attribute 'broadcast_like'
```
I am using the latest version(mxnet-1.2.1.post1), and don't know why got an
error like this.
Thanks,
[ Full content available at:
https://github.com/apache/incubator-mxnet/issues/12407 ]
This message was relayed via gitbox.apache.org for [email protected]