code: def get_dataset():
      return ListDataset(
          [
              {
                  "target": np.c_[
                      np.array(
                          [0.2, 0.7, 0.2, 0.5, 0.3, 0.3, 0.2, 0.1]
                      ),
                      np.array([0, 1, 2, 0, 1, 2, 2, 2]),
                  ].T,
                  "start": "2011-01-01 00:00:00",
                  "end": pd.Timestamp("2011-01-01 03:00:00"),
              },
              {
                  "target": np.c_[
                      np.array([0.2, 0.1, 0.2, 0.5, 0.4]),
                      np.array([0, 1, 2, 1, 1]),
                  ].T,
                  "start": "2011-01-01 00:00:00",
                  "end": pd.Timestamp("2011-01-01 03:00:00"),
              },
              {
                  "target": np.c_[
                      np.array([0.2, 0.7, 0.2, 0.5, 0.1, 0.2, 0.1]),
                      np.array([0, 1, 2, 0, 1, 0, 2]),
                  ].T,
                  "start": "2011-01-01 00:00:00",
                  "end": pd.Timestamp("2011-01-01 03:00:00"),
              },
          ],
          freq="H",
          one_dim_target=False,
          use_timestamp=True,
      )
  
imports: from random import randint
  from typing import List, Tuple
  import numpy
  import pandas
  from gluonts.dataset.common import Dataset, ListDataset
  from gluonts.dataset.field_names import FieldName
label_desc: Use image node_id 2 for calling a global function with example usage: get_dataset() and returns: ListDataset