code: def record_operation(
      op_type,
      output_tensors,
      input_tensors,
      backward_function,
      forward_function=None,
  ):
      """Records the operation on all tapes in the stack."""
      pywrap_tfe.TFE_Py_TapeSetRecordOperation(
          op_type,
          output_tensors,
          input_tensors,
          backward_function,
          forward_function,
      )
  
file_path: tensorflow-upstream/tensorflow/python/eager/record.py
imports: import contextlib
  from tensorflow.python import pywrap_tfe
label_desc: Use image node_id 3 for calling a global function with example usage: record_operation(op_type, output_tensors, input_tensors, backward_function, forward_function) without return types