- class composer.profiler.ProfilerAction(value)#
Action states for the
Profilerthat define whether or not events are being recorded to the trace file.
Do not record new events to the trace. Any events started during
WARMUPwill be recorded upon finish.
Record all events to the trace except those requiring a warmup period to initialize data structures (e.g., torch.profiler).
Record all events to the trace.
Record all events and save the trace at the end of the batch.