class_docstr: Dataset for use in sktime deep learning forecasters.
docstr: Return data point.
docstr_tok: ["Return","data","point","."]
code: def __getitem__(self, i):
      """Return data point."""
      from torch import from_numpy, tensor
  
      return (
          tensor(self.y[i : i + self.seq_len]).float(),
          from_numpy(
              self.y[i + self.seq_len : i + self.seq_len]
          ).float(),
      )
  
imports: from abc import ABC
  import numpy
  import pandas
  from sktime.forecasting.base import BaseForecaster
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 3 for calling the PyTorchPredDataset obj's underlying member method code with example usage: obj.__getitem__(i) and returns: tensor,  from_numpy