module documentation

Layer/Module Helpers Hacked together by / Copyright 2020 Ross Wightman

Function to_1tuple Undocumented
Function to_3tuple Undocumented
Function to_4tuple Undocumented
Type Variable T Undocumented
Function _to_n Undocumented
def to_1tuple(x: T|Iterable[T]) -> tuple[T]: (source)

Undocumented

def to_3tuple(x: T|Iterable[T]) -> tuple[T, T, T]: (source)

Undocumented

def to_4tuple(x: T|Iterable[T]) -> tuple[T, T, T, T]: (source)

Undocumented

Undocumented

Value
TypeVar('T')
def _to_n(x: T|Iterable[T], n: int): (source)

Undocumented