Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicit opt_einsum.contract import for linear.py (#658)
Summary: Pull Request resolved: #658 `opt_einsum` package contains ambiguous imports. It has submodule `opt_einsum/contract.py` and at the same time has the following in `__init__.py`: ``` from .contract import contract ``` So normally `from opt_einsum import contract` should import the method not the module. Howeve, some build systems get confused. This change removes ambiguity and shouldn't affect behaviour in any way Differential Revision: D60134455 fbshipit-source-id: c54a8b596ebce3d1c2a53dadb49bcda43268539c
- Loading branch information