code: def get_layer_uid(layer_name=""):
      _LAYER_UIDS[layer_name] += 1
      return _LAYER_UIDS[layer_name]
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  import tensorflow
  from tensorflow.python.util import nest
label_desc: Use image node_id 1 for calling a global function with example usage: get_layer_uid(layer_name) and returns: _LAYER_UIDS