From 344bcd85be82cfa3115a8f0d4bc22476197d1c16 Mon Sep 17 00:00:00 2001 From: liubuyu Date: Thu, 6 Aug 2020 15:14:17 +0800 Subject: [PATCH] fix class not declear when build ge --- mindspore/ccsrc/utils/context/context_extends.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mindspore/ccsrc/utils/context/context_extends.cc b/mindspore/ccsrc/utils/context/context_extends.cc index b460a66c4d..172a7d1f05 100644 --- a/mindspore/ccsrc/utils/context/context_extends.cc +++ b/mindspore/ccsrc/utils/context/context_extends.cc @@ -24,6 +24,10 @@ namespace mindspore { namespace context { +#ifdef ENBALE_GE +using mindspore::transform::DfGraphManager; +#endif + #ifndef NO_DLIB // Open tdt dataset bool OpenTsd(const std::shared_ptr &ms_context_ptr) {