未验证 提交 f31db95c 编写于 作者: Y Yuchen Zhong 提交者: GitHub
上级 6fcfea94
......@@ -46,7 +46,7 @@ class Numpy(PyStructCompatibleToBlob):
shape: Sequence[int], dtype=dtype_util.float, batch_axis: Optional[int] = 0
):
"""`Numpy.Placeholder` is a typing function for numpy input of a OneFlow global function.
A `numpy.ndarray` takes a `Numpy.Placeholder`'s place must have a identical shape.
A `numpy.ndarray` takes a `Numpy.Placeholder`'s place must have an identical shape.
For instance::
@oneflow.global_function()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册