summaryrefslogtreecommitdiff
path: root/runtimes/neurun/test/graph/Graph.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtimes/neurun/test/graph/Graph.cc')
-rw-r--r--runtimes/neurun/test/graph/Graph.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/runtimes/neurun/test/graph/Graph.cc b/runtimes/neurun/test/graph/Graph.cc
index 5de3c50d0..e6db3fe49 100644
--- a/runtimes/neurun/test/graph/Graph.cc
+++ b/runtimes/neurun/test/graph/Graph.cc
@@ -22,15 +22,15 @@ TEST(Graph, inputs_and_outputs)
{
::neurun::graph::Graph graph;
- ::neurun::graph::operand::Index index0{0u};
- ::neurun::graph::operand::Index index1{1u};
+ ::neurun::model::operand::Index index0{0u};
+ ::neurun::model::operand::Index index1{1u};
graph.addInput({index0});
graph.addInput({index1});
- ::neurun::graph::operand::Index index10{10u};
- ::neurun::graph::operand::Index index11{11u};
- ::neurun::graph::operand::Index index12{12u};
+ ::neurun::model::operand::Index index10{10u};
+ ::neurun::model::operand::Index index11{11u};
+ ::neurun::model::operand::Index index12{12u};
graph.addOutput({index10});
graph.addOutput({index11});
@@ -39,9 +39,9 @@ TEST(Graph, inputs_and_outputs)
ASSERT_EQ(graph.getInputs().size(), 2);
ASSERT_EQ(graph.getOutputs().size(), 3);
- ::neurun::graph::operand::IO::Index io_index0{0};
- ::neurun::graph::operand::IO::Index io_index1{1};
- ::neurun::graph::operand::IO::Index io_index2{2};
+ ::neurun::model::operand::IO::Index io_index0{0};
+ ::neurun::model::operand::IO::Index io_index1{1};
+ ::neurun::model::operand::IO::Index io_index2{2};
ASSERT_EQ(graph.getInputs().at(io_index0), 0);
ASSERT_EQ(graph.getInputs().at(io_index1), 1);