提交 c4f512af authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Fixed minor typo in comment

上级 ad6f88f6
......@@ -253,7 +253,7 @@ def constant_or_value(x, rtype, name=None, ndim=None, dtype=None):
# in this case, the semantics are that the caller is forcing the dtype
x_ = theano._asarray(x, dtype=dtype)
else:
# In this case, this function should infer the dtype according to th
# In this case, this function should infer the dtype according to the
# autocasting rules. See autocasting above.
x_ = None
if rtype is TensorConstant and isinstance(x, int):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论