gluonts.core.serde.np 模块# gluonts.core.serde.np.encode_np_datetime64(v: numpy.datetime64) → Any[source]# gluonts.core.serde.np.encode_np_dtype(v: numpy.dtype) → Any[source]# 专门用于 encode() 调用,其中 v 是 dtype 类的实例。 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]# 专门用于 encode() 调用,其中 v 是 ndarray 类的实例。