Skip to content

Commit 05dac9e

Browse files
Update pytensor/xtensor/shape.py
Co-authored-by: Ricardo Vieira <[email protected]>
1 parent 915a368 commit 05dac9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytensor/xtensor/shape.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ def squeeze(x, dim=None):
360360
The input tensor
361361
dim : str or None or iterable of str, optional
362362
The name(s) of the dimension(s) to remove. If None, all dimensions of size 1
363-
(known statically) will be removed. Dimensions with symbolic shape will be retained.
363+
(known statically) will be removed. Dimensions with unknown static shape will be retained, even if they have size 1 at runtime.
364364
365365
Returns
366366
-------

0 commit comments

Comments
 (0)