Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information