enp.typing.ArrayLike

enp.typing.ArrayLike#

[[Source]]

ArrayLike indicates that any np.array input is also supported. For example: ArrayLike[i32[2]] accept (28, 28), [x, y], np.ones((2,))

ArrayLike = Union[_ArrayT, Tuple[Any, ...], List[Any]]