From eacfce78cca53a3d1ac8ea4cf0ebf4bd061c18c9 Mon Sep 17 00:00:00 2001 From: guohongzilong <2713219276@qq.com> Date: Thu, 30 Apr 2020 13:44:30 +0800 Subject: [PATCH] print op cannot support tensor which the data is scalar --- mindspore/ops/operations/debug_ops.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mindspore/ops/operations/debug_ops.py b/mindspore/ops/operations/debug_ops.py index 48ede57be4..6887c778ed 100644 --- a/mindspore/ops/operations/debug_ops.py +++ b/mindspore/ops/operations/debug_ops.py @@ -198,7 +198,11 @@ class Print(PrimitiveWithInfer): Output tensor or string to stdout. 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: - **input_x** (Union[Tensor, str]) - The graph node to attach to. The input supports