Skip to content

Commit 38a66a1

Browse files
committed
Save PyTorch frontend state in object
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.
1 parent 22a0877 commit 38a66a1

File tree

1 file changed

+540
-921
lines changed

1 file changed

+540
-921
lines changed

0 commit comments

Comments
 (0)