Merge pull request #15924 from baojun-nervana/ngraph_v14

Update ngraph version to v0.14
revert-15774-anakin_subgraph_engine
Tao Luo 6 years ago committed by GitHub
commit 47d36b2008
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -37,7 +37,7 @@ INCLUDE(GNUInstallDirs)
INCLUDE(ExternalProject)
SET(NGRAPH_PROJECT "extern_ngraph")
SET(NGRAPH_GIT_TAG "20bd8bbc79ae3a81c57313846a2be7313e5d1dab")
SET(NGRAPH_GIT_TAG "a444f7a959b7d87f2c117c9b57a4c387759e481e")
SET(NGRAPH_SOURCES_DIR ${THIRD_PARTY_PATH}/ngraph)
SET(NGRAPH_INSTALL_DIR ${THIRD_PARTY_PATH}/install/ngraph)
SET(NGRAPH_INC_DIR ${NGRAPH_INSTALL_DIR}/include)

@ -16,7 +16,10 @@ limitations under the License. */
#include <algorithm>
#include <map>
#include <memory>
#include <string>
#include <unordered_set>
#include <utility>
#include <vector>
#include "paddle/fluid/framework/block_desc.h"
@ -483,7 +486,8 @@ void NgraphEngine::Run(const framework::Scope& scope,
}
}
backend_->call(backend_->compile(ngraph_function_), t_out, t_in);
auto handle = backend_->compile(ngraph_function_);
handle->call_with_validate(t_out, t_in);
} // NgraphEngine::Run
} // namespace operators
} // namespace paddle

Loading…
Cancel
Save