Commit accc570c authored by Bob Kimball's avatar Bob Kimball

fix review comments

parent ae48ed32
...@@ -12,34 +12,34 @@ ...@@ -12,34 +12,34 @@
# limitations under the License. # limitations under the License.
set (SRC set (SRC
tree.cpp
util.cpp
log.cpp log.cpp
ngraph/descriptor/input.cpp ngraph/descriptor/input.cpp
ngraph/descriptor/output.cpp ngraph/descriptor/output.cpp
ngraph/descriptor/tensor.cpp
ngraph/descriptor/tensor_view.cpp ngraph/descriptor/tensor_view.cpp
ngraph/descriptor/tensor.cpp
ngraph/node.cpp
ngraph/pass/call_pass.cpp
ngraph/pass/manager.cpp
ngraph/pass/pass.cpp
ngraph/pass/propagate_types.cpp
ngraph/pass/topological_sort.cpp
ngraph/pass/tree_pass.cpp
ngraph/visualize.cpp
ops/binary_elementwise_builtin.cpp ops/binary_elementwise_builtin.cpp
ops/broadcast.cpp ops/broadcast.cpp
ops/concatenate.cpp ops/concatenate.cpp
ops/convert.cpp
ops/constant.cpp ops/constant.cpp
ops/convert.cpp
ops/dot.cpp ops/dot.cpp
ops/function.cpp ops/function.cpp
ops/op.cpp ops/op.cpp
ops/parameter.cpp ops/parameter.cpp
ops/tuple.cpp ops/tuple.cpp
ops/unary_elementwise_builtin.cpp ops/unary_elementwise_builtin.cpp
tree.cpp
types/element_type.cpp types/element_type.cpp
types/type.cpp types/type.cpp
ngraph/node.cpp util.cpp
ngraph/visualize.cpp
ngraph/pass/pass.cpp
ngraph/pass/manager.cpp
ngraph/pass/call_pass.cpp
ngraph/pass/tree_pass.cpp
ngraph/pass/topological_sort.cpp
ngraph/pass/propagate_types.cpp
) )
set(NGRAPH_INCLUDE_PATH set(NGRAPH_INCLUDE_PATH
......
...@@ -22,19 +22,19 @@ include_directories( ...@@ -22,19 +22,19 @@ include_directories(
) )
set (SRC set (SRC
main.cpp
build_graph.cpp build_graph.cpp
eigen.cpp eigen.cpp
element_type.cpp element_type.cpp
op.cpp
input_output_assign.cpp input_output_assign.cpp
main.cpp
op.cpp
pass_manager.cpp
tensor.cpp tensor.cpp
test_tools.cpp
topological_sort.cpp topological_sort.cpp
type_prop.cpp type_prop.cpp
util.cpp util.cpp
uuid.cpp uuid.cpp
pass_manager.cpp
test_tools.cpp
) )
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
......
...@@ -21,6 +21,8 @@ ...@@ -21,6 +21,8 @@
using namespace std; using namespace std;
using namespace ngraph; using namespace ngraph;
// This function traverses the list of ops and verifies that each op's dependencies (its inputs)
// is located earlier in the list. That is enough to be valid
bool validate_list(const list<Node*>& nodes) bool validate_list(const list<Node*>& nodes)
{ {
bool rc = true; bool rc = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment