From e97d560fb50235d1fb4d3ef32c460992178062d4 Mon Sep 17 00:00:00 2001 From: chuxing Date: Thu, 1 Apr 2021 14:06:03 +0800 Subject: [PATCH] remove unused variable --- ge/hybrid/node_executor/compiledsubgraph/known_node_executor.cc | 2 +- ge/hybrid/node_executor/compiledsubgraph/known_node_executor.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ge/hybrid/node_executor/compiledsubgraph/known_node_executor.cc b/ge/hybrid/node_executor/compiledsubgraph/known_node_executor.cc index 9214f685..8922c5ed 100755 --- a/ge/hybrid/node_executor/compiledsubgraph/known_node_executor.cc +++ b/ge/hybrid/node_executor/compiledsubgraph/known_node_executor.cc @@ -119,7 +119,7 @@ Status KnownNodeTask::Init(TaskContext &context) { } Status KnownNodeTask::InitDavinciModel(const HybridModel &model) { - GELOGD("[Init][Model] start"); + GELOGD("[Init][DavinciModel] start"); davinci_model_->InitRuntimeParams(); GE_CHK_STATUS_RET(davinci_model_->InitVariableMem(), "init variable mem failed"); int32_t device_id = 0; diff --git a/ge/hybrid/node_executor/compiledsubgraph/known_node_executor.h b/ge/hybrid/node_executor/compiledsubgraph/known_node_executor.h index 75d83743..ed5265b9 100644 --- a/ge/hybrid/node_executor/compiledsubgraph/known_node_executor.h +++ b/ge/hybrid/node_executor/compiledsubgraph/known_node_executor.h @@ -42,7 +42,6 @@ class KnownNodeTask : public NodeTask { virtual Status DoInitDavinciModel(); private: std::shared_ptr davinci_model_ = nullptr; - bool load_flag_ = false; }; class KnownNodeExecutor : public NodeExecutor {