44 using Ptr = std::shared_ptr<IInferRequest>;
48 using WeakPtr = std::weak_ptr<IInferRequest>;
188 IE_SUPPRESS_DEPRECATED_START
201 IE_SUPPRESS_DEPRECATED_END
std::shared_ptr< Blob > Ptr
A smart pointer containing Blob object.
Definition: ie_blob.h:43
This is an interface of asynchronous infer request.
Definition: ie_iinfer_request.hpp:29
virtual StatusCode QueryState(IVariableState::Ptr &pState, size_t idx, ResponseDesc *resp) noexcept=0
Gets state control interface for given infer request.
virtual StatusCode GetUserData(void **data, ResponseDesc *resp) noexcept=0
Gets arbitrary data for the request and stores a pointer to a pointer to the obtained data.
std::weak_ptr< IInferRequest > WeakPtr
A smart pointer to the IInferRequest object.
Definition: ie_iinfer_request.hpp:48
void(* CompletionCallback)(InferenceEngine::IInferRequest::Ptr context, InferenceEngine::StatusCode code)
Completion callback definition as pointer to a function.
Definition: ie_iinfer_request.hpp:148
virtual InferenceEngine::StatusCode Wait(int64_t millis_timeout, ResponseDesc *resp) noexcept=0
Waits for the result to become available. Blocks until specified millis_timeout has elapsed or the re...
std::shared_ptr< IInferRequest > Ptr
A shared pointer to the IInferRequest object.
Definition: ie_iinfer_request.hpp:44
virtual StatusCode SetBlob(const char *name, const Blob::Ptr &data, ResponseDesc *resp) noexcept=0
Sets input/output data to infer.
WaitMode
Enumeration to hold wait mode for IInferRequest.
Definition: ie_iinfer_request.hpp:35
@ STATUS_ONLY
Definition: ie_iinfer_request.hpp:39
@ RESULT_READY
Definition: ie_iinfer_request.hpp:37
virtual StatusCode GetPreProcess(const char *name, const PreProcessInfo **info, ResponseDesc *resp) const noexcept=0
Gets pre-process for input data.
virtual StatusCode SetUserData(void *data, ResponseDesc *resp) noexcept=0
Sets arbitrary data for the request.
virtual StatusCode Infer(ResponseDesc *resp) noexcept=0
Infers specified input(s) in synchronous mode.
virtual StatusCode SetCompletionCallback(CompletionCallback callback) noexcept=0
Sets a callback function that will be called on success or failure of asynchronous request.
virtual StatusCode SetBlob(const char *name, const Blob::Ptr &data, const PreProcessInfo &info, ResponseDesc *resp) noexcept=0
Sets pre-process for input data.
virtual StatusCode GetPerformanceCounts(std::map< std::string, InferenceEngineProfileInfo > &perfMap, ResponseDesc *resp) const noexcept=0
Queries performance measures per layer to get feedback of what is the most time consuming layer.
virtual InferenceEngine::StatusCode SetBatch(int batch_size, ResponseDesc *resp) noexcept=0
Sets new batch size when dynamic batching is enabled in executable network that created this request.
virtual StatusCode StartAsync(ResponseDesc *resp) noexcept=0
Starts inference of specified input(s) in asynchronous mode.
virtual StatusCode Cancel(ResponseDesc *resp) noexcept=0
Cancels current async inference request.
virtual StatusCode GetBlob(const char *name, Blob::Ptr &data, ResponseDesc *resp) noexcept=0
Gets input/output data for inference.
std::shared_ptr< IVariableState > Ptr
A shared pointer to the IVariableState interface.
Definition: ie_imemory_state.hpp:32
This class stores pre-process information for the input.
Definition: ie_preprocess.hpp:55
A header file for Blob and generic TBlob<>
This is a header file with common inference engine definitions.
a header file for IVariableState interface
A header file for the Inference Engine plugins destruction mechanism.
This header file provides structures to store info about pre-processing of network inputs (scale,...
Inference Engine C++ API.
Definition: cldnn_config.hpp:15
StatusCode
This enum contains codes for all possible return values of the interface functions.
Definition: ie_common.h:224
Represents detailed information for an error.
Definition: ie_common.h:248