Skip to content

[FX] Add primitive library example #899

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

Merged
merged 1 commit into from
Apr 16, 2021

Conversation

jamesr66a
Copy link
Contributor

Add an example for defining a library of "composable primitives", that is, functions that appear literally in the graph by default but can be decomposed into more fine-grained operations on request. We demonstrate decomposing operations both with an API during graph manipulation as well as automatically during tracing with a custom Tracer

@jamesr66a jamesr66a merged commit aef78a5 into pytorch:master Apr 16, 2021
YinZhengxun pushed a commit to YinZhengxun/mt-exercise-02 that referenced this pull request Mar 30, 2025
[FX] Add primitive library example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants