From 3167e3b485014cf8d737f782e35d06b5e535c710 Mon Sep 17 00:00:00 2001 From: baker Date: Mon, 23 Nov 2020 09:52:52 +0800 Subject: [PATCH] fix complex not support print error --- ge/hybrid/node_executor/host_cpu/kernel/random_uniform_kernel.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ge/hybrid/node_executor/host_cpu/kernel/random_uniform_kernel.cc b/ge/hybrid/node_executor/host_cpu/kernel/random_uniform_kernel.cc index 351a6f70..37b07e37 100755 --- a/ge/hybrid/node_executor/host_cpu/kernel/random_uniform_kernel.cc +++ b/ge/hybrid/node_executor/host_cpu/kernel/random_uniform_kernel.cc @@ -61,7 +61,7 @@ Status RandomUniformKernel::Compute(TaskContext& context) { } break; default: - GELOGE("Supported DataType is DT_FLOAT16 / DT_FLOAT / DT_DOUBLE, but data_type=%s", + GELOGE(UNSUPPORTED, "Supported DataType is DT_FLOAT16 / DT_FLOAT / DT_DOUBLE, but data_type=%s", TypeUtils::DataTypeToSerialString(data_type).c_str()); return UNSUPPORTED; }