code: def _softmax_flops(graph, node):
      """Compute flops for Softmax operation."""
      # Softmax implemetation:
      #
      # Approximate flops breakdown:
      #   2*n          -- compute shifted logits
      #   n            -- exp of shifted logits
      #   2*n          -- compute softmax from exp of shifted logits
      return _unary_op_flops(graph, node, ops_per_element=5)
  
imports: import numpy
  from tensorflow.python.framework import graph_util
  from tensorflow.python.framework import ops
label_desc: Use image node_id 12 for calling a global function with example usage: _softmax_flops(graph, node) and returns: _unary_op_flops