code: def __init__(
      self,
      corpus: TimeSeriesCorpus,
      windows: List[Tuple[int, int, int]],
  ) -> None:
      super(WindowsDataset, self).__init__()
      self.corpus = corpus
      self.windows = windows
  
file_path: gluonts/src/gluonts/nursery/daf/tslib/dataset/windows.py
imports: from __future__ import annotations
  from typing import Optional, List, Tuple, Any
  from itertools import repeat
  from torch.utils.data import Dataset
  from tqdm import tqdm
  import numpy
  from .timeseries import TimeSeries, TimeSeriesCorpus
label_desc: Use image node_id 1 to create a new WindowsDataset object from inherited base classes: TorchDataset with example: obj = WindowsDataset(corpus, windows)