code: def count_fc_flops(input_filter, output_filter, attr):
      # print(input_filter, output_filter ,attr)
      ret = 2 * input_filter * output_filter
      if is_no_bias(attr):
          ret -= output_filter
      return int(ret)
  
file_path: insightface/recognition/subcenter_arcface/common/flops_counter.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import sys
  import os
  import json
  import argparse
  import numpy
  import mxnet
label_desc: Use image node_id 2 for calling a global function with example usage: count_fc_flops(input_filter, output_filter, attr) and returns: int