- darts.utils.onnx_utils.prepare_onnx_inputs(model, series, past_covariates=None, future_covariates=None)[source]ΒΆ
Helper function to slice and concatenate the input features.
In order to remove the dependency on the model argument, it can be decomposed into the following arguments (and simplified depending on the characteristics of the model used):
model_icl
model_ocl
model_uses_past_covs
model_uses_future_covs
model_uses_static_covs
- Return type
tuple
[ndarray
,Optional
[ndarray
,None
],Optional
[ndarray
,None
]]