[utils] Add getRealpath function
authorSeungbaek Hong <sb92.hong@samsung.net>
Wed, 23 Nov 2022 10:44:10 +0000 (19:44 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Thu, 1 Dec 2022 02:07:02 +0000 (11:07 +0900)
commit6f82ee6b781f824a3c399fbd5dc8abd27384432b
tree505c72574a8a451e4357e7ee26a3a658c8440b66
parente9e21afa3c1264e6708e5fcddd33bad6a1072afb
[utils] Add getRealpath function

Since the "realpath" function is not available in the Windows operating system, the "getRealpath" function has been added and replaced so that it can be used in the Windows operating system.

- Add "getRealpath" function to utils.

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

Signed-off-by: Seungbaek Hong <sb92.hong@samsung.net>
nntrainer/app_context.cpp
nntrainer/models/model_loader.cpp
nntrainer/utils/util_func.cpp
nntrainer/utils/util_func.h