Skip to content

Commit

Permalink
Save PyTorch frontend state in object (#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 #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 Dec 4, 2020
1 parent 75afcd7 commit f278c42
Showing 1 changed file with 774 additions and 1,239 deletions.
Loading

0 comments on commit f278c42

Please sign in to comment.