Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more
I believe the reason behind is that we would like to keep the documentation and feature consistent with the origin NumPy, so this magic api is not supposed to be known by users.
Following https://github.com/apache/incubator-mxnet/pull/17358,
broadcast_to
op can infer shape from input tensor with magic parameter-2
. This is undocumented.https://github.com/apache/incubator-mxnet/blob/cf3984bf5c67cb7d1feeb5b3cb55a41ca995e5c8/python/mxnet/ndarray/numpy/_op.py#L285-L308