From e66f02f07db49e89cc3016c087ecdda69f14a20e Mon Sep 17 00:00:00 2001 From: xzl Date: Mon, 9 Oct 2017 20:10:12 +0800 Subject: [PATCH] delete useless code which used the interface of protobuf.a --- paddle/api/Trainer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/paddle/api/Trainer.cpp b/paddle/api/Trainer.cpp index 84e4ca054ab..8a4b79a511d 100644 --- a/paddle/api/Trainer.cpp +++ b/paddle/api/Trainer.cpp @@ -73,7 +73,6 @@ Trainer* Trainer::create(TrainerConfig* config, if (retv->m->getConfig().IsInitialized()) { return retv; } else { - retv->m->getConfig().CheckInitialized(); throw IOError(); } } -- GitLab