Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Commit fec52f2

Browse files
committed
Added type hint None to specify_shape()
1 parent a7ef6db commit fec52f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

aesara/tensor/shape.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ def c_code_cache_version(self):
542542
def specify_shape(
543543
x: Union[np.ndarray, Number, Variable],
544544
shape: Union[
545-
int, List[Union[int, Variable]], Tuple[Union[int, Variable]], Variable
545+
int, List[Union[int, None, Variable]], Tuple[Union[int, None, Variable]], Variable
546546
],
547547
):
548548
"""Specify a fixed shape for a `Variable`.

0 commit comments

Comments
 (0)