code: def read_bundle_file(bundle_file):
      # Read in bundle file.
      bundle = generator_pb2.GeneratorBundle()
      with tf.gfile.Open(bundle_file, "rb") as f:
          try:
              bundle.ParseFromString(f.read())
          except message.DecodeError as e:
              raise GeneratorBundleParseError(e)
      return bundle
  
imports: from note_seq.protobuf import generator_pb2
  import tensorflow.compat.v1
  from google.protobuf import message
label_desc: Use image node_id 1 for calling a global function with example usage: read_bundle_file(bundle_file) and returns: bundle