API Reference
Convert a shape representation into a shape defined as a tuple of ints.
x (Union[int, Integral, integer, Iterable[Union[int, Integral, integer]]]) – Shape representation.
Union
int
Integral
integer
Iterable
Tuple[int, …]
Tuple