gluonts.core.serde.np module

gluonts.core.serde.np.encode_np_dtype(v: numpy.dtype) → Any[source]

Specializes encode() for invocations where v is an instance of the Context class.

gluonts.core.serde.np.encode_np_inexact(v: numpy.inexact)[source]
gluonts.core.serde.np.encode_np_integer(v: numpy.integer)[source]
gluonts.core.serde.np.encode_np_ndarray(v: numpy.ndarray) → Any[source]

Specializes encode() for invocations where v is an instance of the Context class.