code: def sum_flops(self):
      return sum([s["flops"] for s in self.results])
  
imports: import functools
  from collections import Counter
  from prettytable import PrettyTable
  import torch
  import torch.nn
  from torch.nn.utils.rnn import PackedSequence
  from nni.compression.base.wrapper import ModuleWrapper
label_desc: Use image node_id 21 for calling the ModelProfiler obj's underlying member method code with example usage: obj.sum_flops() and returns: sum