class_docstr: Dataset for use in sktime deep learning forecasters.
class_docstr_tok: ["Dataset","for","use","in","sktime","deep","learning","forecasters","."]
code: def __init__(self, y, seq_len):
      self.y = y.values
      self.seq_len = seq_len
  
imports: from abc import ABC, abstractmethod
  import numpy
  import pandas
  from sktime.base import BaseObject
  from sktime.forecasting.base import BaseForecaster
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 1 to create a new PyTorchPredDataset object  with example: obj = PyTorchPredDataset(y, seq_len)