提交 f6407da2 authored 作者: Ricardo Vieira's avatar Ricardo Vieira 提交者: Ricardo Vieira

Remove outdated information on ShapeFeature

We have static type shapes now
上级 72184319
...@@ -99,18 +99,6 @@ class ShapeFeature(Feature): ...@@ -99,18 +99,6 @@ class ShapeFeature(Feature):
Notes Notes
----- -----
Right now there is only the ConvOp that could really take
advantage of this shape inference, but it is worth it even
just for the ConvOp. All that's necessary to do shape
inference is 1) to mark shared inputs as having a particular
shape, either via a .tag or some similar hacking; and 2) to
add an optional In() argument to promise that inputs will
have a certain shape (or even to have certain shapes in
certain dimensions).
We can't automatically infer the shape of shared variables as they can
change of shape during the execution by default.
To use this shape information in rewrites, use the To use this shape information in rewrites, use the
``shape_of`` dictionary. ``shape_of`` dictionary.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论