docstr: Saves dataset stats to self to be used for preprocessing.
docstr_tok: ["Saves","dataset","stats","to","self","to","be","used","for","preprocessing","."]
code: def set_data_stats(self, Xmn, sv1, Xsd=1.0, ymn=0.0, ysd=1.0):
      """
      Saves dataset stats to self to be used for preprocessing.
      """
  
      self.Xmn = torch.as_tensor(
          Xmn, dtype=torch.get_default_dtype()
      ).to(self.device)
      self.sv1 = torch.as_tensor(
          sv1, dtype=torch.get_default_dtype()
      ).to(self.device)
      self.Xsd = torch.as_tensor(
          Xsd, dtype=torch.get_default_dtype()
      ).to(self.device)
      self.ymn = torch.as_tensor(
          ymn, dtype=torch.get_default_dtype()
      ).to(self.device)
      self.ysd = torch.as_tensor(
          ysd, dtype=torch.get_default_dtype()
      ).to(self.device)
  
imports: import os
  import pickle
  import sys
  import time
  import numpy
  import scipy.sparse
  from sklearn.datasets import load_svmlight_file
  import torch
  from torch.utils.data import DataLoader, Dataset
  from torch.utils.data.dataloader import _SingleProcessDataLoaderIter, _MultiProcessingDataLoaderIter, _utils
  from .None import constants
  from .None import syssettings
label_desc: Use image node_id 13 for calling the PrepareData obj's underlying member method code with example usage: obj.set_data_stats(Xmn, sv1, Xsd, ymn, ysd) without return types