C++ exception based error reporting wrapper of API class IMemoryState.
More...
#include <ie_memory_state.hpp>
C++ exception based error reporting wrapper of API class IMemoryState.
§ MemoryState()
constructs MemoryState from the initialized shared_pointer
- Parameters
-
pState | Initialized shared pointer |
§ GetLastState()
Blob::CPtr InferenceEngine::MemoryState::GetLastState |
( |
| ) |
const |
|
inline |
§ GetName()
std::string InferenceEngine::MemoryState::GetName |
( |
| ) |
const |
|
inline |
Gets name of current memory state, if length of array is not enough name is truncated by len, null terminator is inserted as well.
Wraps IMemoryState::GetName
- Returns
- A string representing a state name
§ Reset()
void InferenceEngine::MemoryState::Reset |
( |
| ) |
|
|
inline |
reset internal memory state for relevant iexecutable network, to a value specified in SetState
Wraps IMemoryState::Reset
§ SetState()
void InferenceEngine::MemoryState::SetState |
( |
Blob::Ptr |
state | ) |
|
|
inline |
Sets the new state that is used for all future Reset() operations as a base.
Wraps IMemoryState::SetState
- Parameters
-
state | The current state to set |
The documentation for this class was generated from the following file: