rogersce / cnpy

library to read/write .npy and .npz files in C/C++
MIT License
1.34k stars 301 forks source link

:sparkles: Support STRING type & vector<pair<T,T>> type #79

Open shuming1008 opened 3 years ago

shuming1008 commented 3 years ago

Due to current CNPY could not parse string and vector<pair<T, T>>, I tried to add these features by myself.

Now, parsing string and vector<pair<double, double>> all word fine in my NPZ parsing flow. Please help to review these modifications to check if there's any bad implementations.

Thanks! CNPY is really helpful!