Caffe2 - Python API
A deep learning, cross platform ML framework
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
torch.autograd.profiler.FormattedTimesMixin Class Reference
Inheritance diagram for torch.autograd.profiler.FormattedTimesMixin:
torch.autograd.profiler.FunctionEvent torch.autograd.profiler.FunctionEventAvg

Public Member Functions

def cpu_time (self)
 
def cuda_time (self)
 

Public Attributes

 count
 

Static Public Attributes

 cpu_time_str
 
 cuda_time_str
 
 cpu_time_total_str
 
 cuda_time_total_str
 

Detailed Description

Helpers for FunctionEvent and FunctionEventAvg.

The subclass should define `*_time_total` and `count` attributes.

Definition at line 341 of file profiler.py.


The documentation for this class was generated from the following file: