code: def small_ts_dataset():
      forecast_len = 2
      original_array = np.array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])
  
      task_parameters = tasks.TsForecastingParams(
          forecast_length=forecast_len
      )
      task = tasks.Task(
          tasks.TaskTypesEnum.ts_forecasting, task_parameters
      )
  
      input_ts = InputData(
          idx=np.arange(0, len(original_array)),
          features=original_array,
          target=original_array,
          task=task,
          data_type=DataTypesEnum.ts,
      )
  
      return input_ts
  
imports: import numpy
  from fedot.core.data.data import InputData
  from fedot.core.repository import tasks
  from fedot.core.repository.dataset_types import DataTypesEnum
  from test.unit.tasks.test_forecasting import get_simple_ts_pipeline
label_desc: Use image node_id 1 for calling a global function with example usage: small_ts_dataset() and returns: input_ts