Skip to content

Commit 8d4fdd5

Browse files
Update pytensor/xtensor/shape.py
Co-authored-by: Ricardo Vieira <[email protected]>
1 parent 3202c4c commit 8d4fdd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytensor/xtensor/shape.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,8 @@ class Squeeze(XOp):
317317

318318
__props__ = ("dims",)
319319

320-
def __init__(self, dim):
321-
self.dims = tuple(sorted(set(dim)))
320+
def __init__(self, dims):
321+
self.dims = tuple(sorted(set(dims)))
322322

323323
def make_node(self, x):
324324
x = as_xtensor(x)

0 commit comments

Comments
 (0)