Caffe2 - C++ API
A deep learning, cross platform ML framework
Data Structures | Public Member Functions
caffe2::AsyncTaskFuture Class Reference

Public Member Functions

 AsyncTaskFuture (const std::vector< AsyncTaskFuture * > &futures)
 AsyncTaskFuture (const AsyncTaskFuture &)=delete
AsyncTaskFutureoperator= (const AsyncTaskFuture &)=delete
bool IsCompleted () const
bool IsFailed () const
std::string ErrorMessage () const
void Wait () const
void SetCallback (std::function< void(const AsyncTaskFuture *)> callback)
void SetCompleted (const char *err_msg=nullptr)
void ResetState ()

Detailed Description

Definition at line 18 of file net_async_task_future.h.

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