[tidy] Remove getInputLayers usage
authorJihoon Lee <jhoon.it.lee@samsung.com>
Tue, 23 Nov 2021 12:47:36 +0000 (21:47 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Fri, 3 Dec 2021 06:54:34 +0000 (15:54 +0900)
commitbfd0d460b67bd231c8ad172fd612a86ff31d7e08
tree96bca373a798d8310e82c4ac93dd5198b0071dbb
parente2fb65866d2055622d27263ccc703233723b38ba
[tidy] Remove getInputLayers usage

This patch removes getInputLayers usage as connection is now defined by
name + index, getInputLayers poses ambiguity.

**Changes proposed in this PR:**
- Also, connection now has hash function defined.

**Self evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee <jhoon.it.lee@samsung.com>
nntrainer/compiler/input_realizer.cpp
nntrainer/compiler/multiout_realizer.cpp
nntrainer/compiler/slice_realizer.cpp
nntrainer/graph/connection.h
nntrainer/graph/network_graph.cpp
nntrainer/models/neuralnet.cpp
test/unittest/unittest_nntrainer_models.cpp