提交 19656a1f authored 作者: Frederic Bastien's avatar Frederic Bastien

Update comment

上级 ab028336
......@@ -204,8 +204,8 @@ class TensorType(Type):
Convert a symbolic Variable into a TensorType, if compatible.
For the moment, only a TensorType or CudaNdarrayType will be
converted, provided they have the same number of dimensions,
broadcastable pattern, and dtype.
converted, provided they have the same number of dimensions and
dtype and have "compatible" broadcastable pattern.
"""
if hasattr(other, '_as_TensorVariable'):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论