Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
ngraph
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ngraph
Commits
eb05f4a3
Commit
eb05f4a3
authored
Oct 15, 2018
by
Adam Rogowiec
Committed by
Robert Kimball
Oct 15, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switch to onnx-ml.pb.h as a ONNX protobuf message definitions header. (#1738)
parent
2d544544
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
7 deletions
+10
-7
external_onnx.cmake
cmake/external_onnx.cmake
+3
-0
attribute.hpp
src/ngraph/frontend/onnx_import/core/attribute.hpp
+1
-1
graph.hpp
src/ngraph/frontend/onnx_import/core/graph.hpp
+1
-1
model.hpp
src/ngraph/frontend/onnx_import/core/model.hpp
+1
-1
node.hpp
src/ngraph/frontend/onnx_import/core/node.hpp
+1
-1
tensor.hpp
src/ngraph/frontend/onnx_import/core/tensor.hpp
+1
-1
value_info.hpp
src/ngraph/frontend/onnx_import/core/value_info.hpp
+1
-1
cast.cpp
src/ngraph/frontend/onnx_import/op/cast.cpp
+1
-1
No files found.
cmake/external_onnx.cmake
View file @
eb05f4a3
...
@@ -45,6 +45,7 @@ if (${CMAKE_VERSION} VERSION_LESS 3.2)
...
@@ -45,6 +45,7 @@ if (${CMAKE_VERSION} VERSION_LESS 3.2)
-DPROTOBUF_LIBRARY=
${
Protobuf_LIBRARY
}
-DPROTOBUF_LIBRARY=
${
Protobuf_LIBRARY
}
-DPROTOBUF_INCLUDE_DIR=
${
Protobuf_INCLUDE_DIR
}
-DPROTOBUF_INCLUDE_DIR=
${
Protobuf_INCLUDE_DIR
}
-DPROTOBUF_SRC_ROOT_FOLDER=
${
Protobuf_SRC_ROOT_FOLDER
}
-DPROTOBUF_SRC_ROOT_FOLDER=
${
Protobuf_SRC_ROOT_FOLDER
}
-DONNX_ML=TRUE
TMP_DIR
"
${
EXTERNAL_PROJECTS_ROOT
}
/onnx/tmp"
TMP_DIR
"
${
EXTERNAL_PROJECTS_ROOT
}
/onnx/tmp"
STAMP_DIR
"
${
EXTERNAL_PROJECTS_ROOT
}
/onnx/stamp"
STAMP_DIR
"
${
EXTERNAL_PROJECTS_ROOT
}
/onnx/stamp"
DOWNLOAD_DIR
"
${
EXTERNAL_PROJECTS_ROOT
}
/onnx/download"
DOWNLOAD_DIR
"
${
EXTERNAL_PROJECTS_ROOT
}
/onnx/download"
...
@@ -68,6 +69,7 @@ else()
...
@@ -68,6 +69,7 @@ else()
-DPROTOBUF_LIBRARY=
${
Protobuf_LIBRARY
}
-DPROTOBUF_LIBRARY=
${
Protobuf_LIBRARY
}
-DPROTOBUF_INCLUDE_DIR=
${
Protobuf_INCLUDE_DIR
}
-DPROTOBUF_INCLUDE_DIR=
${
Protobuf_INCLUDE_DIR
}
-DPROTOBUF_SRC_ROOT_FOLDER=
${
Protobuf_SRC_ROOT_FOLDER
}
-DPROTOBUF_SRC_ROOT_FOLDER=
${
Protobuf_SRC_ROOT_FOLDER
}
-DONNX_ML=TRUE
TMP_DIR
"
${
EXTERNAL_PROJECTS_ROOT
}
/onnx/tmp"
TMP_DIR
"
${
EXTERNAL_PROJECTS_ROOT
}
/onnx/tmp"
STAMP_DIR
"
${
EXTERNAL_PROJECTS_ROOT
}
/onnx/stamp"
STAMP_DIR
"
${
EXTERNAL_PROJECTS_ROOT
}
/onnx/stamp"
DOWNLOAD_DIR
"
${
EXTERNAL_PROJECTS_ROOT
}
/onnx/download"
DOWNLOAD_DIR
"
${
EXTERNAL_PROJECTS_ROOT
}
/onnx/download"
...
@@ -92,6 +94,7 @@ else()
...
@@ -92,6 +94,7 @@ else()
-DProtobuf_PROTOC_EXECUTABLE=
${
Protobuf_PROTOC_EXECUTABLE
}
-DProtobuf_PROTOC_EXECUTABLE=
${
Protobuf_PROTOC_EXECUTABLE
}
-DProtobuf_LIBRARY=
${
Protobuf_LIBRARY
}
-DProtobuf_LIBRARY=
${
Protobuf_LIBRARY
}
-DProtobuf_INCLUDE_DIR=
${
Protobuf_INCLUDE_DIR
}
-DProtobuf_INCLUDE_DIR=
${
Protobuf_INCLUDE_DIR
}
-DONNX_ML=TRUE
TMP_DIR
"
${
EXTERNAL_PROJECTS_ROOT
}
/onnx/tmp"
TMP_DIR
"
${
EXTERNAL_PROJECTS_ROOT
}
/onnx/tmp"
STAMP_DIR
"
${
EXTERNAL_PROJECTS_ROOT
}
/onnx/stamp"
STAMP_DIR
"
${
EXTERNAL_PROJECTS_ROOT
}
/onnx/stamp"
DOWNLOAD_DIR
"
${
EXTERNAL_PROJECTS_ROOT
}
/onnx/download"
DOWNLOAD_DIR
"
${
EXTERNAL_PROJECTS_ROOT
}
/onnx/download"
...
...
src/ngraph/frontend/onnx_import/core/attribute.hpp
View file @
eb05f4a3
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#pragma once
#pragma once
#include <onnx.pb.h>
#include <onnx
-ml
.pb.h>
#include "ngraph/except.hpp"
#include "ngraph/except.hpp"
#include "tensor.hpp"
#include "tensor.hpp"
...
...
src/ngraph/frontend/onnx_import/core/graph.hpp
View file @
eb05f4a3
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#pragma once
#pragma once
#include <onnx.pb.h>
#include <onnx
-ml
.pb.h>
#include <string>
#include <string>
#include <vector>
#include <vector>
...
...
src/ngraph/frontend/onnx_import/core/model.hpp
View file @
eb05f4a3
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#pragma once
#pragma once
#include <onnx.pb.h>
#include <onnx
-ml
.pb.h>
#include <ostream>
#include <ostream>
namespace
ngraph
namespace
ngraph
...
...
src/ngraph/frontend/onnx_import/core/node.hpp
View file @
eb05f4a3
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#include "ngraph/node_vector.hpp"
#include "ngraph/node_vector.hpp"
#include <onnx.pb.h>
#include <onnx
-ml
.pb.h>
#include "attribute.hpp"
#include "attribute.hpp"
#include "tensor.hpp"
#include "tensor.hpp"
...
...
src/ngraph/frontend/onnx_import/core/tensor.hpp
View file @
eb05f4a3
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
#include "ngraph/shape.hpp"
#include "ngraph/shape.hpp"
#include "ngraph/type/element_type.hpp"
#include "ngraph/type/element_type.hpp"
#include <onnx.pb.h>
#include <onnx
-ml
.pb.h>
namespace
ngraph
namespace
ngraph
{
{
...
...
src/ngraph/frontend/onnx_import/core/value_info.hpp
View file @
eb05f4a3
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
#include "ngraph/shape.hpp"
#include "ngraph/shape.hpp"
#include "ngraph/type/element_type.hpp"
#include "ngraph/type/element_type.hpp"
#include <onnx.pb.h>
#include <onnx
-ml
.pb.h>
#include "node.hpp"
#include "node.hpp"
#include "tensor.hpp"
#include "tensor.hpp"
...
...
src/ngraph/frontend/onnx_import/op/cast.cpp
View file @
eb05f4a3
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
//*****************************************************************************
//*****************************************************************************
#include <memory>
#include <memory>
#include <onnx.pb.h>
#include <onnx
-ml
.pb.h>
#include "ngraph/op/convert.hpp"
#include "ngraph/op/convert.hpp"
#include "ngraph/type/element_type.hpp"
#include "ngraph/type/element_type.hpp"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment