Describes the relationship between the enumerator type and the actual device's name.
More...
#include <ie_device.hpp>
|
static TargetDevice |
fromStr (const std::string &deviceName) |
|
Converts string representation of device to InferenceEngine::TargetDevice enum value. More...
|
|
static const char * |
name (TargetDevice device) |
|
Converts an instance of InferenceEngine::TargetDevice to string representation. More...
|
|
Describes the relationship between the enumerator type and the actual device's name.
- Deprecated:
- Deprecated since InferenceEngine::TargetDevice is deprecated
§ fromStr()
static TargetDevice InferenceEngine::TargetDeviceInfo::fromStr |
( |
const std::string & |
deviceName |
) |
|
|
inlinestatic |
Converts string representation of device to InferenceEngine::TargetDevice enum value.
- Deprecated:
- Deprecated since InferenceEngine::TargetDevice is deprecated
- Parameters
-
deviceName |
A string representation of a device name |
- Returns
- An instance of InferenceEngine::TargetDevice
§ name()
static const char* InferenceEngine::TargetDeviceInfo::name |
( |
TargetDevice |
device |
) |
|
|
inlinestatic |
Converts an instance of InferenceEngine::TargetDevice to string representation.
- Deprecated:
- Deprecated since InferenceEngine::TargetDevice is deprecated
- Parameters
-
device |
Instance of InferenceEngine::TargetDevice |
- Returns
- A c-string with the name
The documentation for this class was generated from the following file: