forked from mindspore-Ecosystem/mindspore
!11484 add description for print
From: @zhangbuxue Reviewed-by: @ginfung,@zh_qh Signed-off-by: @ginfung
This commit is contained in:
commit
7799c86797
|
@ -329,10 +329,12 @@ class Print(PrimitiveWithInfer):
|
||||||
|
|
||||||
Note:
|
Note:
|
||||||
In pynative mode, please use python print function.
|
In pynative mode, please use python print function.
|
||||||
|
In graph mode, the bool, int, float, tuple, and list would be converted into Tensor to print,
|
||||||
|
str remains unchanged.
|
||||||
|
|
||||||
Inputs:
|
Inputs:
|
||||||
- **input_x** (Union[Tensor, bool, int, float, str, tuple, list]) - The graph node to attach to.
|
- **input_x** (Union[Tensor, bool, int, float, str, tuple, list]) - The graph node to attach to.
|
||||||
The input supports multiple strings and tensors which are separated by ','.
|
Supports multiple inputs which are separated by ','.
|
||||||
|
|
||||||
Supported Platforms:
|
Supported Platforms:
|
||||||
``Ascend``
|
``Ascend``
|
||||||
|
|
Loading…
Reference in New Issue