code: def _embed_getter(sess):
      def _get(p, attr):
          map = {}
          value = _trainable_getter(sess)(p)
          for i in range(attr.input_dim):
              map[attr.dict[i]] = value[i, :]
          return map
  
      return _get
  
imports: import tensorflow
  import numpy
  from cntk.contrib import crosstalk
label_desc: Use image node_id 13 for calling a global function with example usage: _embed_getter(sess) and returns: _get, map