19 namespace InferenceEngine {
26 details::SharedObjectLoader::Ptr plugin = {};
35 if (actual ==
nullptr) {
46 CALL_STATUS_FNC_NO_ARGS(
Reset);
57 CALL_STATUS_FNC(
GetName, name,
sizeof(name));
69 CALL_STATUS_FNC(
GetState, stateBlob);
80 INFERENCE_ENGINE_DEPRECATED(
"Use VariableState::GetState function instead")
This class represents a universal container in the Inference Engine.
Definition: ie_blob.h:38
std::shared_ptr< const Blob > CPtr
A smart pointer to the const Blob object.
Definition: ie_blob.h:48
std::shared_ptr< Blob > Ptr
A smart pointer containing Blob object.
Definition: ie_blob.h:43
std::shared_ptr< IVariableState > Ptr
A shared pointer to the IVariableState interface.
Definition: ie_imemory_state.hpp:30
C++ exception based error reporting wrapper of API class IVariableState.
Definition: ie_memory_state.hpp:24
Blob::CPtr GetState() const
Returns the value of the variable state.
Definition: ie_memory_state.hpp:67
VariableState(IVariableState::Ptr pState, details::SharedObjectLoader::Ptr plg={})
constructs VariableState from the initialized shared_pointer
Definition: ie_memory_state.hpp:34
std::string GetName() const
Gets name of current variable state, if length of array is not enough name is truncated by len,...
Definition: ie_memory_state.hpp:55
void SetState(Blob::Ptr state)
Sets the new state for the next inference.
Definition: ie_memory_state.hpp:91
void Reset()
Reset internal variable state for relevant infer request, to a value specified as default for accordi...
Definition: ie_memory_state.hpp:45
Blob::CPtr GetLastState() const
Returns the value of the variable state.
Definition: ie_memory_state.hpp:81
#define THROW_IE_EXCEPTION
A macro used to throw the exception with a notable description.
Definition: ie_exception.hpp:25
A header file that provides macros to handle no exception methods.
a header file for IVariableState interface
A header file for definition of abstraction over platform specific shared objects.