Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions
caffe2::TimeOperatorObserver Class Referencefinal
Inheritance diagram for caffe2::TimeOperatorObserver:
caffe2::TimeCounter caffe2::ObserverBase< OperatorBase >

Public Member Functions

 TimeOperatorObserver (OperatorBase *subject)=delete
 
 TimeOperatorObserver (OperatorBase *subject, TimeObserver *)
 
std::unique_ptr< ObserverBase< OperatorBase > > copy (OperatorBase *subject) override
 
- Public Member Functions inherited from caffe2::TimeCounter
float average_time () const
 
- Public Member Functions inherited from caffe2::ObserverBase< OperatorBase >
 ObserverBase (OperatorBase *subject)
 
virtual std::string debugInfo ()
 
OperatorBasesubject () const
 

Additional Inherited Members

- Protected Attributes inherited from caffe2::TimeCounter
Timer timer_
 
float start_time_ = 0.0f
 
float total_time_ = 0.0f
 
int iterations_ = 0
 
- Protected Attributes inherited from caffe2::ObserverBase< OperatorBase >
OperatorBasesubject_
 

Detailed Description

Definition at line 46 of file time_observer.h.


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