code: def _read32(bytestream):
      dt = numpy.dtype(numpy.uint32).newbyteorder(">")
      return numpy.frombuffer(bytestream.read(4), dtype=dt)[0]
  
file_path: tensorpack/tensorpack/dataflow/dataset/mnist.py
imports: import gzip
  import numpy
  import os
  from ...utils import logger
  from ...utils.fs import download, get_dataset_path
  from ..base import RNGDataFlow
label_desc: Use image node_id 2 for calling a global function with example usage: _read32(bytestream) and returns: numpy