未验证 提交 4598de38 编写于 作者: L liuwei1031 提交者: GitHub

add comments for dygraph behavior of dot op (#23874)

上级 b36c0cc5
...@@ -440,6 +440,7 @@ def dot(x, y, name=None): ...@@ -440,6 +440,7 @@ def dot(x, y, name=None):
""" """
op_type = 'dot' op_type = 'dot'
# skip var type check in dygraph mode to improve efficiency
if in_dygraph_mode(): if in_dygraph_mode():
op = getattr(core.ops, op_type) op = getattr(core.ops, op_type)
return op(x, y) return op(x, y)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册