PassThroughProfiler
- class lightning.pytorch.profilers.PassThroughProfiler(dirpath=None, filename=None)
Bases:
ProfilerThis class should be used when you don’t want the (small) overhead of profiling.
The Trainer uses this class by default.
- start(action_name)
Defines how to start recording an action.
- Return type:
- stop(action_name)
Defines how to record the duration once an action is complete.
- Return type:
Was this page helpful?
Thanks for the feedback.