class_docstr: Memory Augmented Time Series Dataset
  
  Args:
      handler (DataHandler): data handler
      segments (dict): data split segments
      seq_len (int): time series sequence length
      horizon (int): label horizon
      num_states (int): how many memory states to be added
      memory_mode (str): memory mode (daily or sample)
      batch_size (int): batch size (<0 will use daily sampling)
      n_samples (int): number of samples in the same day
      shuffle (bool): whether shuffle data
      drop_last (bool): whether drop last batch < batch_size
      input_size (int): reshape flatten rows as this input_size (backward compatibility)
class_docstr_tok: ["Memory","Augmented","Time","Series","Dataset","Args",":","handler","(","DataHandler",")",":","data","handler","segments","(","dict",")",":","data","split","segments","seq_len","(","int",")",":","time","series","sequence","length","horizon","(","int",")",":","label","horizon","num_states","(","int",")",":","how","many","memory","states","to","be","added","memory_mode","(","str",")",":","memory","mode","(","daily","or","sample",")","batch_size","(","int",")",":","batch","size","(","<","0","will","use","daily","sampling",")","n_samples","(","int",")",":","number","of","samples","in","the","same","day","shuffle","(","bool",")",":","whether","shuffle","data","drop_last","(","bool",")",":","whether","drop","last","batch","<","batch_size","input_size","(","int",")",":","reshape","flatten","rows","as","this","input_size","(","backward","compatibility",")"]
code: def _get_slices(self):
      if self.batch_size < 0:  # daily sampling
          slices = self._daily_slices.copy()
          batch_size = -1 * self.batch_size
      else:  # normal sampling
          slices = self._batch_slices.copy()
          batch_size = self.batch_size
      return slices, batch_size
  
imports: import copy
  import torch
  import warnings
  import numpy
  import pandas
  from qlib.data.dataset import DatasetH
label_desc: Use image node_id 10 for calling the MTSDatasetH obj's underlying member method code with example usage: obj._get_slices() and returns: slices,  batch_size