Skip to content

Commit

Permalink
Save PyTorch frontend state in object (apache#7023)
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 apache#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 authored and electriclilies committed Feb 18, 2021
1 parent 8b7790c commit 8c6e13f
Showing 1 changed file with 774 additions and 1,239 deletions.
Loading

0 comments on commit 8c6e13f

Please sign in to comment.