|
|
| ParallelNet (const std::shared_ptr< const NetDef > &net_def, Workspace *ws) |
| |
|
bool | RunAsync () override |
| |
|
void | Wait () override |
| |
|
bool | SupportsAsync () override |
| |
|
std::vector< OperatorBase * > | GetOperators () const override |
| |
|
TaskThreadPoolBase * | Pool (const DeviceOption &device_option) |
| |
|
| NetBase (const std::shared_ptr< const NetDef > &net_def, Workspace *ws) |
| |
|
const vector< const Event * > & | events () const |
| |
|
virtual bool | Run () |
| |
| virtual vector< float > | TEST_Benchmark (const int, const int, const bool) |
| | Benchmarks a network. More...
|
| |
|
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 |
| |
|
| Observable (Observable &&)=default |
| |
|
Observable & | operator= (Observable &&)=default |
| |
|
| C10_DISABLE_COPY_AND_ASSIGN (Observable) |
| |
|
const Observer * | AttachObserver (std::unique_ptr< Observer > observer) |
| |
| std::unique_ptr< Observer > | DetachObserver (const Observer *observer_ptr) |
| | Returns a unique_ptr to the removed observer. More...
|
| |
|
virtual size_t | NumObservers () |
| |
|
void | StartAllObservers () |
| |
|
void | StopAllObservers () |
| |
|
|
typedef std::unordered_map< int, std::unordered_map< int, std::shared_ptr< TaskThreadPoolBase > > > | PoolsMap |
| |
|
|
bool | handleRunError () override |
| |
|
virtual void | finishRun () |
| |
|
virtual void | reset () |
| |
|
TaskThreadPoolBase * | poolGetter (PoolsMap &pools, int device_type, int device_id, int pool_size) |
| |
|
| C10_DISABLE_COPY_AND_ASSIGN (ParallelNet) |
| |
|
virtual bool | DoRunAsync () |
| |
|
| C10_DISABLE_COPY_AND_ASSIGN (NetBase) |
| |
|
|
class | ParallelNetExecutorHelper |
| |
Definition at line 13 of file net_parallel.h.
The documentation for this class was generated from the following files: