class_docstr: Create mock images for inference on CPU based on the specifics of the original torch test dataset.
  Uses yield so as to avoid storing everything in the memory.
  Args:
      image_size (List[int]): Size of input image
      total_count (int): Total images in the test dataset
class_docstr_tok: ["Create","mock","images","for","inference","on","CPU","based","on","the","specifics","of","the","original","torch","test","dataset",".","Uses","yield","so","as","to","avoid","storing","everything","in","the","memory",".","Args",":","image_size","(","List","[","int","]",")",":","Size","of","input","image","total_count","(","int",")",":","Total","images","in","the","test","dataset"]
docstr: Get total count of images.
docstr_tok: ["Get","total","count","of","images","."]
code: def __len__(self):
      """Get total count of images."""
      return self.total_count
  
imports: from typing import Iterable, List
  import numpy
label_desc: Use image node_id 2 for calling the MockImageLoader obj's underlying member method code with example usage: obj.__len__() and returns: self