[Fix] Non-const reference
authorJihoon Lee <jhoon.it.lee@samsung.com>
Thu, 13 Jan 2022 02:24:32 +0000 (11:24 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Wed, 19 Jan 2022 00:52:32 +0000 (09:52 +0900)
commit32dce75975abe6241199b70062c988a2ebe029b2
tree169e2467dec058fe6f86de81266870314cc36980
parentd22eeaa6591bedeff2480fc7853ebca60ebaa80c
[Fix] Non-const reference

This patch fixes returning reference of local variable.

**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/layers/layer_context.cpp