[Coverity] resolve coverity issues
authorDonghyeon Jeong <dhyeon.jeong@samsung.com>
Thu, 6 Feb 2025 08:12:21 +0000 (17:12 +0900)
committerjijoong.moon <jijoong.moon@samsung.com>
Tue, 11 Feb 2025 05:44:52 +0000 (14:44 +0900)
commit4080ed5cc29140015d833fa3692ff7cfd579cf16
tree3a1e39d409f50f22b388155ac7d47311039986f8
parentcd5c7996f6b6b8a0eb5fbe50ccd39c0f1c3164ae
[Coverity] resolve coverity issues

This pull request aims to resolve various Coverity issues.
The following warning group IDs are addressed:

Warning Group ID
- #1832819
- #1833528
- #1834338
- #1837520
- #1839030
- #1841393
- #1837925
- #1838882
- #1839129
- #1839950
- #1840581
- #1840832

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

Change-Id: I74a843793789b60c476d831bd53ce085e69cd163
Signed-off-by: Donghyeon Jeong <dhyeon.jeong@samsung.com>
nntrainer/app_context.cpp
nntrainer/models/neuralnet.cpp
nntrainer/tensor/memory_data.h