to_list# pytorch_forecasting.utils._utils.to_list(value: Any) → list[Any][source]# Convert value or list to list of values. If already list, return object directly. Parameters: value (Any) – Value to convert. Returns: List of values. Return type: list of Any