# record_function Source: https://www.tensorplay.cn/docs/generated/tensorplay.profiler.record_function.html ```python class tensorplay.profiler.record_function(name, args=None) ``` Mark a user-defined span in the active profiling session.