code: def log_prob_from_logits(logits):
      return logits - tf.reduce_logsumexp(
          logits, axis=-1, keepdims=True
      )
  
file_path: texar/texar/tf/utils/beam_search.py
imports: import tensorflow
  from tensorflow.python.util import nest
  from texar.tf.utils.shapes import shape_list
label_desc: Use image node_id 5 for calling a global function with example usage: log_prob_from_logits(logits) and returns: unknown