// Insert node1 (between 1 and 2)
auto inserted_operand1 = graph.addOperand(shape, type);
- auto inserted_index1 = graph.insertOperation(
- operand1, mocknode_index2,
- nnfw::make_unique<MockNode>(IndexSet{operand1}, IndexSet{inserted_operand1}));
+ auto inserted_index1 =
+ graph.insertOperation(operand1, mocknode_index2,
+ nnfw::make_unique<MockNode>(IndexSet{}, IndexSet{inserted_operand1}));
ASSERT_EQ(inserted_index1.asInt(), 3);
// Insert node2 (between 2 and 3)
auto inserted_operand2 = graph.addOperand(shape, type);
- auto inserted_index2 = graph.insertOperation(
- operand2, mocknode_index3,
- nnfw::make_unique<MockNode>(IndexSet{operand2}, IndexSet{inserted_operand2}));
+ auto inserted_index2 =
+ graph.insertOperation(operand2, mocknode_index3,
+ nnfw::make_unique<MockNode>(IndexSet{}, IndexSet{inserted_operand2}));
ASSERT_EQ(inserted_index2.asInt(), 4);
// Insert node1 (between 1 and multi)
auto inserted_operand1 = graph.addOperand(shape, type);
- auto inserted_index1 = graph.insertOperation(
- operand1, multiinput_index,
- nnfw::make_unique<MockNode>(IndexSet{operand1}, IndexSet{inserted_operand1}));
+ auto inserted_index1 =
+ graph.insertOperation(operand1, multiinput_index,
+ nnfw::make_unique<MockNode>(IndexSet{}, IndexSet{inserted_operand1}));
ASSERT_EQ(inserted_index1.asInt(), 3);
// Insert node2 (between 2 and multi)
auto inserted_operand2 = graph.addOperand(shape, type);
- auto inserted_index2 = graph.insertOperation(
- operand2, multiinput_index,
- nnfw::make_unique<MockNode>(IndexSet{operand2}, IndexSet{inserted_operand2}));
+ auto inserted_index2 =
+ graph.insertOperation(operand2, multiinput_index,
+ nnfw::make_unique<MockNode>(IndexSet{}, IndexSet{inserted_operand2}));
ASSERT_EQ(inserted_index2.asInt(), 4);