_coerce_to_dict#

pytorch_forecasting.utils._coerce._coerce_to_dict(obj)[source]#

Coerce object to dict.

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