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 4, 2020
1 parent 91c905d commit 5a590a3
Showing 1 changed file with 774 additions and 1,239 deletions.
Loading

0 comments on commit 5a590a3

Please sign in to comment.