Skip to content

Commit

Permalink
Save PyTorch frontend state in object
Browse files Browse the repository at this point in the history
While the functional approach is pretty neat, we ended up having
global state (default frontend, dtype) and it'll be more soon
(caching of inferred types, see #6900). To not have to pass around
the state, this moves the op conversion into a class with instances
having the state.
  • Loading branch information
t-vi committed Dec 3, 2020
1 parent 22a0877 commit 38a66a1
Showing 1 changed file with 540 additions and 921 deletions.

0 comments on commit 38a66a1

Please sign in to comment.