_coerce_to_list#

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

强制对象转换为列表。

None 被强制转换为空列表,否则使用列表构造函数。