public class NpzFile
A ZIP file where each individual file is in NPY format.
By convention each file has .npy extension, however, the API
doesn't expose it. So for instance the array named "X" will be
accessibly via "X" and not "X.npy".
See https://docs.scipy.org/doc/numpy-dev/neps/npy-format.html
| Modifier and Type | Class and Description |
|---|---|
static class |
NpzFile.Reader
A reader for NPZ format.
|
static class |
NpzFile.Writer
A writer for NPZ format.
|
| Modifier and Type | Field and Description |
|---|---|
static NpzFile |
INSTANCE
A ZIP file where each individual file is in NPY format.
|
| Modifier and Type | Method and Description |
|---|---|
static NpzFile.Reader |
read(java.nio.file.Path path)
Opens an NPZ file at
path for reading. |
static NpzFile.Writer |
write(java.nio.file.Path path,
boolean compressed)
Opens an NPZ file at
path for writing. |
public static NpzFile INSTANCE
A ZIP file where each individual file is in NPY format.
By convention each file has .npy extension, however, the API
doesn't expose it. So for instance the array named "X" will be
accessibly via "X" and not "X.npy".
See https://docs.scipy.org/doc/numpy-dev/neps/npy-format.html
@JvmStatic @NotNull public static NpzFile.Reader read(@NotNull java.nio.file.Path path)
Opens an NPZ file at path for reading.
path@JvmStatic @NotNull public static NpzFile.Writer write(@NotNull java.nio.file.Path path, boolean compressed)
Opens an NPZ file at path for writing.
path