提交 dea34134 编写于 作者: B baojun-nervana 提交者: ceci3

Update ngraph version to v0.14 test=develop

上级 f1a2d204
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册