ShapeLike

probnum.typing.ShapeLike

Object that can be converted to a shape.

Arguments of type ShapeLike should always be converted into ShapeType using the function probnum.utils.as_shape() before further internal processing.

alias of Union[int, Integral, integer, Iterable[Union[int, Integral, integer]]]