_coerce_to_dict#

pytorch_forecasting.data.timeseries._coerce_to_dict(obj)[来源]#

将对象强制转换为字典。

None 被强制转换为空字典,否则使用 deepcopy。