Skip to content

[TensorLayout] Add a way to specify canonical layout propagation to NodeGen #3834

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
shajrawi opened this issue Dec 2, 2019 · 0 comments

Comments

@shajrawi
Copy link
Contributor

shajrawi commented Dec 2, 2019

See #3831 (comment)

It would be nice to have NodeDef.layoutRequirements(Agnostic) or NodeDef.layoutRequirements(PropagateInputLayoutToOutputLayout) and get rid of static bool acceptsAnyInputLayout(const glow::Node *node) { and refactor the special handling for nodes such as quantize and convertTo in TensorLayoutCommon::getNthInputLayoutRequirements.

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

No branches or pull requests

1 participant