code: def _fromfile(fin, dtype, count):
      """Reimplementation of numpy.fromfile."""
      return np.fromiter(_batched_generator(fin, count), dtype=dtype)
  
imports: import collections
  import gzip
  import io
  import logging
  import struct
  import numpy
label_desc: Use image node_id 6 for calling a global function with example usage: _fromfile(fin, dtype, count) and returns: np