fhs / NPZ.jl

A Julia package that provides support for reading and writing Numpy .npy and .npz files
Other
117 stars 16 forks source link

Support pre-allocated array and configurable permutedims? #48

Open findmyway opened 2 years ago

findmyway commented 2 years ago

This package is pretty neat and helpful!

Can we add some keyword arguments to the following function to reuse preallocated array and control whether to permute dims or not?

https://github.com/fhs/NPZ.jl/blob/8834d3ceb9be626d254204580ad585edfacb8b1a/src/NPZ.jl#L229-L240