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

Public Member Functions

def __init__ (self, id, name, thread, cpu_start, cpu_end)
 
def append_kernel (self, name, device, start, end)
 
def cuda_time_total (self)
 
def cpu_time_total (self)
 
def key (self)
 
def __repr__ (self)
 
- Public Member Functions inherited from torch.autograd.profiler.FormattedTimesMixin
def cpu_time (self)
 
def cuda_time (self)
 

Public Attributes

 id
 
 name
 
 cpu_interval
 
 thread
 
 kernels
 
 count
 
- Public Attributes inherited from torch.autograd.profiler.FormattedTimesMixin
 count
 

Additional Inherited Members

- Static Public Attributes inherited from torch.autograd.profiler.FormattedTimesMixin
 cpu_time_str
 
 cuda_time_str
 
 cpu_time_total_str
 
 cuda_time_total_str
 

Detailed Description

Profiling information about a single function.

Definition at line 377 of file profiler.py.


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