Skip to main content

InputShape

A concrete shape for one named input: the name and one extent per dimension. bench() and validate_shapes() take a list of these, a list of dims in input_names() order, or a dict of name to dims.

dims (property)​

One extent per dimension.

name (property)​

The input's name.

__init__​

__init____init__(self) -> None

init(self) -> None init(self, name: str, dims: collections.abc.Sequence[int]) -> None

Overloaded function.

  1. __init__(self) -> None

  2. __init__(self, name: str, dims: collections.abc.Sequence[int]) -> None

InputShape(name, dims)

A shape for the input name.