0.1.1 • Published 3 years ago
@maximekjaer/tfjs-npy v0.1.1
NumPy file parsing and serialization for TensorFlow.js
See https://docs.scipy.org/doc/numpy/neps/npy-format.html for more information about the file format.
API:
import { parse, serialize } from "tfjs-npy";
function parse(ab: ArrayBuffer): tf.Tensor;
function serialize(tensor: tf.Tensor): Promise<ArrayBuffer>;
https://github.com/propelml/tfjs-npy