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

6 statements  

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

1""" 

2Types used in the opt_einsum package 

3""" 

4 

5from typing import Any, Collection, FrozenSet, List, Optional, Tuple, Union 

6 

7PathType = Collection[Tuple[int, ...]] 

8ArrayType = Any # TODO 

9ArrayIndexType = FrozenSet[str] 

10TensorShapeType = Tuple[int, ...] 

11ContractionListType = List[Tuple[Any, ArrayIndexType, str, Optional[Tuple[str, ...]], Union[str, bool]]]