class_docstr: A dataset which provides time series.
class_docstr_tok: ["A","dataset","which","provides","time","series","."]
docstr: Redo standardization. The series must contain the same time series in the same order as the dataset.
docstr_tok: ["Redo","standardization",".","The","series","must","contain","the","same","time","series","in","the","same","order","as","the","dataset","."]
code: def rescale_dataset(self, series: torch.Tensor):
      """
      Redo standardization. The series must contain the same time series in the same order as the dataset.
      """
      return (
          (series * self.stds.unsqueeze(2)) + self.means.unsqueeze(2)
          if self.standardize
          else series
      )
  
file_path: gluonts/src/gluonts/nursery/few_shot_prediction/src/meta/data/dataset.py
imports: from __future__ import annotations
  from dataclasses import dataclass
  from typing import List, Optional
  import pandas
  import torch
  from torch.utils.data import Dataset
label_desc: Use image node_id 2 for calling the TimeSeriesDataset obj's underlying member method code with example usage: obj.rescale_dataset(series) and returns: unknown