Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/opt_einsum/backends/__init__.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.3.1, created at 2023-09-25 06:41 +0000

1""" 

2Compute backends for opt_einsum. 

3""" 

4 

5# Backends 

6from .cupy import to_cupy 

7from .dispatch import build_expression, evaluate_constants, get_func, has_backend, has_einsum, has_tensordot 

8from .tensorflow import to_tensorflow 

9from .theano import to_theano 

10from .torch import to_torch 

11 

12__all__ = [ 

13 "get_func", 

14 "has_einsum", 

15 "has_tensordot", 

16 "build_expression", 

17 "evaluate_constants", 

18 "has_backend", 

19 "to_tensorflow", 

20 "to_theano", 

21 "to_cupy", 

22 "to_torch", 

23]