print op cannot support tensor which the data is scalar

pull/888/head
guohongzilong 5 years ago
parent 0edf22e68c
commit eacfce78cc

@ -198,7 +198,11 @@ class Print(PrimitiveWithInfer):
Output tensor or string to stdout. Output tensor or string to stdout.
Note: Note:
The print operation cannot support float64 and bool types currently. The print operation cannot support the following cases currently.
1. The type of tensor is float64 or bool.
2. The data of tensor is a scalar type.
Inputs: Inputs:
- **input_x** (Union[Tensor, str]) - The graph node to attach to. The input supports - **input_x** (Union[Tensor, str]) - The graph node to attach to. The input supports

Loading…
Cancel
Save