code: def _mean_flops(graph, node):
      """Compute flops for Mean operation."""
      # reduction - sum, finalization - divide
      return _reduction_op_flops(
          graph, node, reduce_flops=1, finalize_flops=1
      )
  
imports: import numpy
  from tensorflow.python.framework import graph_util
  from tensorflow.python.framework import ops
label_desc: Use image node_id 30 for calling a global function with example usage: _mean_flops(graph, node) and returns: _reduction_op_flops