diff --git a/tf_adapter/kernels/geop_npu.cc b/tf_adapter/kernels/geop_npu.cc index ea2d28658c75b1127b4c5fd7c83e196f0e613b27..a1fb9a044e221e84c587d993d4f6caf2a2e34baf 100644 --- a/tf_adapter/kernels/geop_npu.cc +++ b/tf_adapter/kernels/geop_npu.cc @@ -438,15 +438,15 @@ void GeOp::Initialize(OpKernelConstruction *ctx) { << ", shape_generalization_mode: " << shape_generalization_mode_; if (compile_dynamic_mode_ == "1" && shape_generalization_mode_ != "STRICT") { - ADP_LOG(WARNING) << "compile_dynamic_mode is 1, so shape_generalization_mode[" - << shape_generalization_mode_ << "] will be ignore, please set compile_dynamic_mode=0."; + ADP_LOG(WARNING) << "compile_dynamic_mode is true, so shape_generalization_mode[" + << shape_generalization_mode_ << "] will be ignore, please set compile_dynamic_mode=false."; } if (jit_compile_ != "1" && shape_generalization_mode_ != "STRICT") { - LOG(WARNING) << "jit_compile[" << jit_compile_ << "] is not 1, so shape_generalization_mode[" - << shape_generalization_mode_ << "] will be ignore, please set jit_compile=1 " + LOG(WARNING) << "jit_compile is not true, so shape_generalization_mode[" + << shape_generalization_mode_ << "] will be ignore, please set jit_compile=true " << "and shape_generalization_mode=" << shape_generalization_mode_ << "."; - ADP_LOG(WARNING) << "jit_compile[" << jit_compile_ << "] is not 1, so shape_generalization_mode[" - << shape_generalization_mode_ << "] will be ignore, please set jit_compile=1 " + ADP_LOG(WARNING) << "jit_compile is not true, so shape_generalization_mode[" + << shape_generalization_mode_ << "] will be ignore, please set jit_compile=true " << "and shape_generalization_mode=" << shape_generalization_mode_ << "."; } // global environment Initialize, invoke once for each process