An internal API of synchronous inference request to be implemented by plugin, which is used in InferRequestBase forwarding mechanism. More...
#include <ie_iinfer_request_internal.hpp>
Public Types | |
typedef std::shared_ptr< IInferRequestInternal > | Ptr |
A shared pointer to a IInferRequestInternal interface. | |
Public Member Functions | |
virtual | ~IInferRequestInternal ()=default |
Destroys the object. | |
virtual void | Infer ()=0 |
Infers specified input(s) in synchronous mode. More... | |
virtual void | Cancel ()=0 |
Cancel current inference request execution. | |
virtual std::map< std::string, InferenceEngineProfileInfo > | GetPerformanceCounts () const =0 |
Queries performance measures per layer to get feedback of what is the most time consuming layer. Note: not all plugins may provide meaningful data. More... | |
virtual void | SetBlob (const std::string &name, const Blob::Ptr &data)=0 |
Set input/output data to infer. More... | |
virtual Blob::Ptr | GetBlob (const std::string &name)=0 |
Get input/output data to infer. More... | |
virtual void | SetBlob (const std::string &name, const Blob::Ptr &data, const PreProcessInfo &info)=0 |
Sets pre-process for input data. More... | |
virtual const PreProcessInfo & | GetPreProcess (const std::string &name) const =0 |
Gets pre-process for input data. More... | |
virtual void | SetBatch (int batch)=0 |
Sets new batch size when dynamic batching is enabled in executable network that created this request. More... | |
virtual std::vector< IVariableStateInternal::Ptr > | QueryState ()=0 |
Queries memory states. More... | |
An internal API of synchronous inference request to be implemented by plugin, which is used in InferRequestBase forwarding mechanism.
|
pure virtual |
Get input/output data to infer.
name | - a name of input or output blob. |
Implemented in InferenceEngine::InferRequestInternal, and InferenceEngine::AsyncInferRequestThreadSafeDefault.
|
pure virtual |
Queries performance measures per layer to get feedback of what is the most time consuming layer. Note: not all plugins may provide meaningful data.
Implemented in InferenceEngine::AsyncInferRequestThreadSafeDefault.
|
pure virtual |
Gets pre-process for input data.
name | Name of input blob. |
Implemented in InferenceEngine::InferRequestInternal, and InferenceEngine::AsyncInferRequestThreadSafeDefault.
|
pure virtual |
Infers specified input(s) in synchronous mode.
Implemented in InferenceEngine::InferRequestInternal, and InferenceEngine::AsyncInferRequestThreadSafeDefault.
|
pure virtual |
Queries memory states.
Implemented in InferenceEngine::InferRequestInternal, and InferenceEngine::AsyncInferRequestThreadSafeDefault.
|
pure virtual |
Sets new batch size when dynamic batching is enabled in executable network that created this request.
batch | - new batch size to be used by all the following inference calls for this request. |
Implemented in InferenceEngine::InferRequestInternal, and InferenceEngine::AsyncInferRequestThreadSafeDefault.
|
pure virtual |
Set input/output data to infer.
name | - a name of input or output blob. |
data | - a reference to input or output blob. The type of Blob must correspond to the network input precision and size. |
Implemented in InferenceEngine::InferRequestInternal, and InferenceEngine::AsyncInferRequestThreadSafeDefault.
|
pure virtual |
Sets pre-process for input data.
name | Name of input blob. |
data | - a reference to input or output blob. The type of Blob must correspond to the network input precision and size. |
info | Preprocess info for blob. |
Implemented in InferenceEngine::InferRequestInternal, and InferenceEngine::AsyncInferRequestThreadSafeDefault.