code: def get_class(serialized_example):
      return tf.io.parse_single_example(
          serialized_example,
          features={"label": tf.io.FixedLenFeature([], tf.int64)},
      )["label"]
  
file_path: objax/examples/fixmatch/scripts/create_unlabeled.py
imports: import json
  import os
  from collections import defaultdict
  import numpy
  import tensorflow
  from absl import app
  from tqdm import trange, tqdm
label_desc: Use image node_id 1 for calling a global function with example usage: get_class(serialized_example) and returns: tf