Minimal interface for variable state implementation. More...
#include <ie_variable_state_internal.hpp>
Public Member Functions | |
VariableStateInternal (std::string name) | |
Constructs a variable state with a given name. More... | |
std::string | GetName () const override |
Gets a variable state name. More... | |
void | SetState (Blob::Ptr newState) override |
Sets the new state for the next inference. More... | |
Blob::CPtr | GetState () const override |
Returns the value of the variable state. More... | |
Public Member Functions inherited from InferenceEngine::IVariableStateInternal | |
virtual | ~IVariableStateInternal ()=default |
A default virtual dtor. | |
virtual void | Reset ()=0 |
Reset internal variable state for relevant infer request, to a value specified as default for according ReadValue node. | |
Use IVariableStateInternal::GetState method virtual instead Blob::CPtr | GetLastState () const |
Returns the value of the variable state. More... | |
Additional Inherited Members | |
Public Types inherited from InferenceEngine::IVariableStateInternal | |
using | Ptr = std::shared_ptr< IVariableStateInternal > |
A shared pointer to a IVariableStateInternal interface. | |
Minimal interface for variable state implementation.
|
inlineexplicit |
Constructs a variable state with a given name.
name | A name of variable state |
|
inlineoverridevirtual |
Gets a variable state name.
Implements InferenceEngine::IVariableStateInternal.
|
inlineoverridevirtual |
Returns the value of the variable state.
Implements InferenceEngine::IVariableStateInternal.
|
inlineoverridevirtual |
Sets the new state for the next inference.
newState | A new state |
Implements InferenceEngine::IVariableStateInternal.