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.4.0, created at 2024-01-03 07:57 +0000

1""" 

2Compute backends for opt_einsum. 

3""" 

4 

5# Backends 

6from .cupy import to_cupy 

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

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]