AbstractProfiler
- class pytorch_lightning.profiler.AbstractProfiler[source]
Bases:
abc.ABC
Specification of a profiler.
- abstract setup(**kwargs)[source]
Execute arbitrary pre-profiling set-up steps as defined by subclass.
- Return type
- abstract stop(action_name)[source]
Defines how to record the duration once an action is complete.
- Return type