gluonts.core.serde.np module#

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

Specializes encode() for invocations where v is an instance of the dtype 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 ndarray class.