code: def extract_labels(filename, num_images):
      with gzip.open(filename) as bytestream:
          bytestream.read(8)
          buf = bytestream.read(1 * num_images)
          labels = np.frombuffer(buf, dtype=np.uint8)
      return (np.arange(10) == labels[:, None]).astype(np.float32)
  
imports: import numpy
  import os
  import gzip
  import urllib.request
label_desc: Use image node_id 2 for calling a global function with example usage: extract_labels(filename, num_images) and returns: unknown