PassThroughProfiler¶
- class lightning.pytorch.profilers.PassThroughProfiler(dirpath=None, filename=None)[source]¶
Bases:
lightning.pytorch.profilers.profiler.Profiler
This class should be used when you don’t want the (small) overhead of profiling.
The Trainer uses this class by default.