300 results (0.164 seconds)
  1. https://gist.github.com/Ademord/75060b6e32feec94733ba2d2081520b3/raw/3cdaa514bc997fb511ddbe38471c1c26138cbaf4/serialize-numpy-array.py

    serialize, persist, retrieve, and de-serialize a NumPy array as a binary string (any dimension, any dtype); exemplary use case: a web app calculates some result--eg, from a Machine Learning algorithm, using NumPy and the result is a NumPy array; it is efficient to just return that result to rather than persist the array then retrieve it via query Raw
  2. https://gist.github.com/Ademord/78862e3f09e56edc9416f49779c9138c/raw/3cdaa514bc997fb511ddbe38471c1c26138cbaf4/serialize-numpy-array.py

    serialize, persist, retrieve, and de-serialize a NumPy array as a binary string (any dimension, any dtype); exemplary use case: a web app calculates some result--eg, from a Machine Learning algorithm, using NumPy and the result is a NumPy array; it is efficient to just return that result to rather than persist the array then retrieve it via query Raw