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

Public Member Functions

 TimeObserver (NetBase *subject)
 
float average_time_children () const
 
- Public Member Functions inherited from caffe2::TimeCounter
float average_time () const
 
- Public Member Functions inherited from caffe2::OperatorAttachingNetObserver< TimeOperatorObserver, TimeObserver >
 OperatorAttachingNetObserver (NetBase *subject_, TimeObserver *netObserver)
 
- Public Member Functions inherited from caffe2::ObserverBase< NetBase >
 ObserverBase (NetBase *subject)
 
virtual std::string debugInfo ()
 
NetBasesubject () const
 
virtual std::unique_ptr< ObserverBase< NetBase > > rnnCopy (NetBase *subject, int rnn_order) 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::OperatorAttachingNetObserver< TimeOperatorObserver, TimeObserver >
std::vector< const TimeOperatorObserver * > operator_observers_
 
- Protected Attributes inherited from caffe2::ObserverBase< NetBase >
NetBasesubject_
 

Detailed Description

Definition at line 48 of file time_observer.h.


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