Skip to content

Commit 8e61224

Browse files
committed
Add drop property to Dimshuffle
1 parent a64055d commit 8e61224

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pytensor/tensor/elemwise.py

+1
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ def __init__(self, input_broadcastable, new_order):
173173
# List of dimensions of the output that are broadcastable and were not
174174
# in the original input
175175
self.augment = sorted([i for i, x in enumerate(new_order) if x == "x"])
176+
self.drop = drop
176177

177178
if self.inplace:
178179
self.view_map = {0: [0]}

0 commit comments

Comments
 (0)