code: def get_tflops(model_numel, batch_size, seq_len, step_time):
      return (
          model_numel
          * batch_size
          * seq_len
          * 8
          / 1e12
          / (step_time + 1e-12)
      )
  
file_path: ColossalAI/examples/community/roberta/pretraining/utils/exp_util.py
imports: import functools
  import os
  import shutil
  import psutil
  import torch
  from colossalai.legacy.core import global_context
label_desc: Use image node_id 7 for calling a global function with example usage: get_tflops(model_numel, batch_size, seq_len, step_time) and returns: unknown