(
    inputs: List[ArrayIndexType],
    output: ArrayIndexType,
    size_dict: Dict[str, int],
    memory_limit: Optional[int] = None,
)
return _AUTO_CHOICES.get(N, greedy)(inputs, output, size_dict, memory_limit)
Finds the contraction path by automatically choosing the method based on
    how many input arguments there are.
Finds the contraction path by automatically choosing the method based on
    how many input arguments there are.
Finds the contraction path by automatically choosing the method based on how many input arguments there are .
def auto(
    inputs: List[ArrayIndexType],
    output: ArrayIndexType,
    size_dict: Dict[str, int],
    memory_limit: Optional[int] = None,
) -> PathType:
    """Finds the contraction path by automatically choosing the method based on
    how many input arguments there are.
    """
    N = len(inputs)
    return _AUTO_CHOICES.get(N, greedy)(inputs, output, size_dict, memory_limit)
def auto ( inputs : List [ ArrayIndexType ] , output : ArrayIndexType , size_dict : Dict [ str , int ] , memory_limit : Optional [ int ] = None , ) -> PathType : N = len ( inputs ) return _AUTO_CHOICES . get ( N , greedy ) ( inputs , output , size_dict , memory_limit )