DateIndexedInput.cut#

DateIndexedInput.cut(windows)[source]#

Cut this input into one padded window per period.

Parameters:
windowsEvaluationWindows

The windows to cut to.

Returns:
np.ndarray

Shape (n_periods, *dims) with date cut to windows.max_window and left where the model expects it, since the compiled graph reads the input by dimension order.