class_docstr: Horizontally splited mnist dataset
class_docstr_tok: ["Horizontally","splited","mnist","dataset"]
code: def __init__(self, slc, batch_size=32, train=True) -> None:
      super().__init__(batch_size, train)
      self.slc = slc
      self.num_samples = self.slc.stop - self.slc.start
      self.iterations = self.num_samples // self.batch_size
  
imports: import os
  import tensorflow
  from tensorflow.keras.datasets import mnist
  from .convert import decode_data
  from .convert import decode_image
  from .convert import decode_label
  from .convert import save_data
  from .convert import save_image
  from .convert import save_label
label_desc: Use image node_id 1 to create a new HMnistDataset object from inherited base classes: MnistDataset with example: obj = HMnistDataset(slc, batch_size, train)