提交 1399eafc authored 作者: James Bergstra's avatar James Bergstra

Added comment to ShapeFeature to say that the use of a shape tag is not

implemented yet
上级 002a62bb
...@@ -330,13 +330,14 @@ class ShapeFeature(object): ...@@ -330,13 +330,14 @@ class ShapeFeature(object):
.. note:: .. note::
Right now there is only the ConvOp that can really take advantage of this shape 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 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, 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 Param() argument either via a .tag or some similar hacking; and 2) to add an optional Param() argument
to promise that inputs will have a certain shape (or even to have certain shapes in 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 variable as certain dimensions). We can't automatically infer the shape of shared variable as
they can change of shape during the execution by default. they can change of shape during the execution by default.
(NOT IMPLEMENTED YET)
""" """
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论