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

0 comments on commit e0df5b1

Please sign in to comment.