code: def int2onehot(label, label_num):
      out_label = np.zeros(label_num, dtype=int)
      out_label[label] = 1
      return out_label
  
file_path: euler/tf_euler/python/dataset/pubmed_utils.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: int2onehot(label, label_num) and returns: out_label