_coerce_to_dict#

pytorch_forecasting.data.timeseries._coerce_to_dict(obj)[source]#

Coerce object to dict.

None is coerce to empty dict, otherwise deepcopy is used.