Public Member Functions | |
ProfileOperatorObserver (OperatorBase *subject)=delete | |
ProfileOperatorObserver (OperatorBase *subject, ProfileObserver *netObserver) | |
ProfileOperatorObserver (OperatorBase *subject, ProfileObserver *netObserver, int net_position, int rnn_order) | |
std::unique_ptr< ObserverBase< OperatorBase > > | rnnCopy (OperatorBase *subject, int rnn_order) const override |
void | Dump () const |
virtual std::string | getId () const |
Public Member Functions inherited from caffe2::ObserverBase< OperatorBase > | |
ObserverBase (OperatorBase *subject) | |
virtual std::string | debugInfo () |
OperatorBase * | subject () const |
Protected Attributes | |
ProfileObserver * | netObserver_ |
int | net_position_ |
int | rnn_order_ = OperatorBase::kNoNetPositionSet |
Protected Attributes inherited from caffe2::ProfileCounter | |
Timer | timer_ |
float | start_time_ = 0.0f |
float | run_time_ = 0.0f |
Protected Attributes inherited from caffe2::ObserverBase< OperatorBase > | |
OperatorBase * | subject_ |
Definition at line 49 of file profile_observer.h.