[util] Add numpy file reader
authorDonghak PARK <donghak.park@samsung.com>
Wed, 28 Feb 2024 03:19:19 +0000 (12:19 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 4 Mar 2024 08:46:27 +0000 (17:46 +0900)
commitc522c7fae49fb0e4b8b39c90827a47e9cfadd0ff
tree2f25ee738bf374d15ebdf9edb971fb93c17ff7bf
parentf6891816af652484063708d991207cbbf1b0f864
[util] Add numpy file reader

In deep learning data feeding, there are often tasks that involve reading and processing numpy (.npy) files.

Therefore, it would be much more convenient to develop by entering the file name and returning the data in a vector instead of manually writing code to read it every time.

Function Signature
```
void read_npy_file(const char *file_path, std::vector<int> &dims,
                   std::vector<float> &values);
```

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

Signed-off-by: Donghak PARK <donghak.park@samsung.com>
Applications/utils/meson.build
Applications/utils/npy_reader/meson.build [new file with mode: 0644]
Applications/utils/npy_reader/npy_reader.cpp [new file with mode: 0644]
Applications/utils/npy_reader/npy_reader.h [new file with mode: 0644]