Skip to content

Commit d108ebb

Browse files
committed
Remove outdated information on ShapeFeature
We have static type shapes now
1 parent 7218431 commit d108ebb

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

pytensor/tensor/rewriting/shape.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -99,18 +99,6 @@ class ShapeFeature(Feature):
9999
100100
Notes
101101
-----
102-
Right now there is only the ConvOp that could really take
103-
advantage of this shape inference, but it is worth it even
104-
just for the ConvOp. All that's necessary to do shape
105-
inference is 1) to mark shared inputs as having a particular
106-
shape, either via a .tag or some similar hacking; and 2) to
107-
add an optional In() argument to promise that inputs will
108-
have a certain shape (or even to have certain shapes in
109-
certain dimensions).
110-
111-
We can't automatically infer the shape of shared variables as they can
112-
change of shape during the execution by default.
113-
114102
To use this shape information in rewrites, use the
115103
``shape_of`` dictionary.
116104

0 commit comments

Comments
 (0)