title: how to calculate the flops from tfprof in tensorflow?
body: <p>how can i get the number of <code>flops</code> from <code>tfprof</code> i have the code as:</p>
  
  <pre><code>def calculate_flops():
      # Print to stdout an analysis of the number of floating point operations in the
      # model broken down by individual operations.
      param_stats = tf.contrib.tfprof.model_analyzer.print_model_analysis(
      tf.get_default_graph(),
      tfprof_options=tf.contrib.tfprof.model_analyzer.
      TRAINABLE_VARS_PARAMS_STAT_OPTIONS)
      print(param_stats)
  </code></pre>
  
  <p>but the results says <code>flops = 0</code>. 
  how can i calculate the number of flops. can i have an example ?</p>