提交 480aecb4 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!2566 Fix some mistakes of ArgMaxWithValue vm ops

Merge pull request !2566 from liuwenhao/arg
...@@ -1123,7 +1123,7 @@ class ArgMaxWithValue(PrimitiveWithInfer): ...@@ -1123,7 +1123,7 @@ class ArgMaxWithValue(PrimitiveWithInfer):
- output_x (Tensor) - The maximum value of input tensor, the shape same as index. - output_x (Tensor) - The maximum value of input tensor, the shape same as index.
Examples: Examples:
>>> input_x = Tensor(np.random.rand(5)) >>> input_x = Tensor(np.random.rand(5), mindspore.float32)
>>> index, output = P.ArgMaxWithValue()(input_x) >>> index, output = P.ArgMaxWithValue()(input_x)
""" """
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册