Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

[Feature Request] broadcast_like operator #11056

Closed
zhanghang1989 opened this issue May 24, 2018 · 4 comments
Closed

[Feature Request] broadcast_like operator #11056

zhanghang1989 opened this issue May 24, 2018 · 4 comments

Comments

@zhanghang1989
Copy link
Contributor

zhanghang1989 commented May 24, 2018

Description

Request a broadcast_like operator, which can output a broadcasted NDArray for the given target.

For example y=nd.broadcast_like(x, z), which should return the same result with existing operator y=nd.broadcast_to(x, z.shape) but avoid reading the shape explicitly, so that it can be used in HybridBlock.

@lanking520
Copy link
Member

I have created a JIRA ticket for this: https://issues.apache.org/jira/browse/MXNET-524.

@ifeherva
Copy link
Contributor

Happy to do this next.

@ifeherva
Copy link
Contributor

See #11820

@eric-haibin-lin
Copy link
Member

Added in #11820

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants