code: def op_reg_gen(func):
      """Parse a function and emit the TFR functions."""
      op_reg_code, _ = OpRegGen().transform(func, None)
      return op_reg_code
  
file_path: tensorflow-upstream/tensorflow/compiler/mlir/tfr/python/op_reg_gen.py
imports: import gast
  from tensorflow.python.autograph.pyct import transformer
  from tensorflow.python.autograph.pyct import transpiler
  from tensorflow.python.framework import op_def_registry
  from tensorflow.python.util import tf_inspect
label_desc: Use image node_id 1 for calling a global function with example usage: op_reg_gen(func) and returns: op_reg_code