aesara.tensor.specify_shape#
- aesara.tensor.specify_shape(x: ndarray | Number | Variable, shape: None | integer | int | Variable | List[None | integer | int | Variable] | Tuple[None | integer | int | Variable])[source]#
Specify a fixed shape for a
Variable
.If a dimension’s shape value is
None
, the size of that dimension is not considered fixed/static at runtime.