
| Current Path : /usr/local/lib/python3.8/dist-packages/opt_einsum/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : //usr/local/lib/python3.8/dist-packages/opt_einsum/__init__.py |
"""
Main init function for opt_einsum.
"""
from . import blas
from . import helpers
from . import paths
from . import path_random
from .contract import contract, contract_path, contract_expression
from .parser import get_symbol
from .sharing import shared_intermediates
from .paths import BranchBound, DynamicProgramming
from .path_random import RandomGreedy
# Handle versioneer
from ._version import get_versions
versions = get_versions()
__version__ = versions['version']
__git_revision__ = versions['full-revisionid']
del get_versions, versions
paths.register_path_fn('random-greedy', path_random.random_greedy)
paths.register_path_fn('random-greedy-128', path_random.random_greedy_128)