Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions | Protected Member Functions
caffe2::SimpleRefCountNet Class Referencefinal
Inheritance diagram for caffe2::SimpleRefCountNet:
caffe2::SimpleNet caffe2::NetBase caffe2::Observable< NetBase >

Public Member Functions

 SimpleRefCountNet (const std::shared_ptr< const NetDef > &net_def, Workspace *ws)
 
- Public Member Functions inherited from caffe2::SimpleNet
 SimpleNet (const std::shared_ptr< const NetDef > &net_def, Workspace *ws)
 
bool SupportsAsync () override
 
vector< float > TEST_Benchmark (const int warmup_runs, const int main_runs, const bool run_individual) override
 Benchmarks a network. More...
 
vector< OperatorBase * > GetOperators () const override
 
- Public Member Functions inherited from caffe2::NetBase
 NetBase (const std::shared_ptr< const NetDef > &net_def, Workspace *ws)
 
const vector< const Event * > & events () const
 
virtual void Wait ()
 
const vector< string > & external_output () const
 
const vector< string > & external_input () const
 
const string & Name () const
 
const NetDef & debug_def () const
 
bool has_debug_def () const
 
- Public Member Functions inherited from caffe2::Observable< NetBase >
 Observable (Observable &&)=default
 
Observableoperator= (Observable &&)=default
 
 C10_DISABLE_COPY_AND_ASSIGN (Observable)
 
const ObserverAttachObserver (std::unique_ptr< Observer > observer)
 
std::unique_ptr< ObserverDetachObserver (const Observer *observer_ptr)
 Returns a unique_ptr to the removed observer. More...
 
virtual size_t NumObservers ()
 
void StartAllObservers ()
 
void StopAllObservers ()
 

Protected Member Functions

bool Run () override
 
- Protected Member Functions inherited from caffe2::SimpleNet
bool RunAsync () override
 
 C10_DISABLE_COPY_AND_ASSIGN (SimpleNet)
 
- Protected Member Functions inherited from caffe2::NetBase
virtual bool DoRunAsync ()
 
virtual bool handleRunError ()
 
 C10_DISABLE_COPY_AND_ASSIGN (NetBase)
 

Additional Inherited Members

- Public Types inherited from caffe2::Observable< NetBase >
using Observer = ObserverBase< NetBase >
 
- Protected Attributes inherited from caffe2::SimpleNet
vector< unique_ptr< OperatorBase > > operators_
 
- Protected Attributes inherited from caffe2::NetBase
vector< string > external_input_
 
vector< string > external_output_
 
string name_
 
vector< const Event * > events_
 
std::shared_ptr< const NetDef > net_def_
 
- Protected Attributes inherited from caffe2::Observable< NetBase >
std::vector< std::unique_ptr< Observer > > observers_list_
 

Detailed Description

Definition at line 38 of file net_simple_refcount.h.


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