Validate and normalise a ForecastConfig against a ModelConfig.
Returns a new object; the input is never mutated.
Adjustments applied (matching the Python compile() logic):
compile()
maxContext
inputPatchLen
maxHorizon
outputPatchLen
useContinuousQuantileHead
outputQuantileLen
if context + horizon exceeds the model's limit.
Validate and normalise a ForecastConfig against a ModelConfig.
Returns a new object; the input is never mutated.
Adjustments applied (matching the Python
compile()logic):maxContextrounded up to the next multiple ofinputPatchLen.maxHorizonrounded up to the next multiple ofoutputPatchLen.useContinuousQuantileHeadis true,maxHorizonmust be ≤outputQuantileLen.