Class representing a device that can run a neural network. More...
Public Member Functions | |
| None | __init__ (self) |
| Default constructor. | |
| None | __init__ (self, eVision.EasyDeepLearning.EDeepLearningDevice other) |
| Copy constructor. | |
| bool | HasTrainingCapability (self) |
| Whether the device can perform training or not. | |
| bool | HasInferenceCapability (self) |
| Whether the device can perform inference or not. | |
| bool | IsPrecisionSupported (self, eVision.EasyDeepLearning.EDeepLearningInferencePrecision precision) |
| Whether the given precision is supported by the device or not. | |
| bool | IsValid (self) |
| Whether this instance represents a usable device or not. | |
Protected Member Functions | |
| str | _Name__getter (self) |
| \cond | |
| str | _FullName__getter (self) |
| \cond | |
| str | _EngineName__getter (self) |
| \cond | |
| eVision.EasyDeepLearning.EDeepLearningDeviceType | _DeviceType__getter (self) |
| \cond | |
| str | _DeviceTypeDescription__getter (self) |
| \cond | |
| int | _DeviceId__getter (self) |
| \cond | |
| list[eVision._eVision.EasyDeepLearning.EDeepLearningInferencePrecision] | _SupportedPrecisions__getter (self) |
| \cond | |
| eVision.EasyDeepLearning.EDeepLearningInferencePrecision | _DefaultPrecision__getter (self) |
| \cond | |
Properties | |
| Name = property(_Name__getter, None) | |
| \endcond | |
| FullName = property(_FullName__getter, None) | |
| \endcond | |
| EngineName = property(_EngineName__getter, None) | |
| \endcond | |
| DeviceType = property(_DeviceType__getter, None) | |
| \endcond | |
| DeviceTypeDescription = property(_DeviceTypeDescription__getter, None) | |
| \endcond | |
| DeviceId = property(_DeviceId__getter, None) | |
| \endcond | |
| SupportedPrecisions = property(_SupportedPrecisions__getter, None) | |
| \endcond | |
| DefaultPrecision = property(_DefaultPrecision__getter, None) | |
| \endcond | |
Class representing a device that can run a neural network.
A device is fully described by its eVision.EasyDeepLearning.EDeepLearningDevice.Name and eVision.EasyDeepLearning.EDeepLearningDevice.EngineName.
The other properties are information about the device and its capabilities.
Remarks:
License(s): BasicTypes
| None eVision.EasyDeepLearning.EDeepLearningDevice.__init__ | ( | self | ) |
Default constructor.
The resulting device will be invalid.
| None eVision.EasyDeepLearning.EDeepLearningDevice.__init__ | ( | self, | |
| eVision.EasyDeepLearning.EDeepLearningDevice | other ) |
Copy constructor.
| other | Device to copy |
|
protected |
\cond
Default precision for this device. If supported by the device, the default precision will be FLOAT32.
|
protected |
\cond
A device index corresponding to the index of the device within the engine.
With the default engine, the device index is the index of the NVIDIA GPU for example.
|
protected |
\cond
The device type.
|
protected |
\cond
Textual description of the device type.
|
protected |
\cond
The name of the engine supporting this device.
|
protected |
\cond
A full name of the device.
|
protected |
\cond
Name of the device.
|
protected |
\cond
Precisions supported by the device.
| bool eVision.EasyDeepLearning.EDeepLearningDevice.HasInferenceCapability | ( | self | ) |
Whether the device can perform inference or not.
| bool eVision.EasyDeepLearning.EDeepLearningDevice.HasTrainingCapability | ( | self | ) |
Whether the device can perform training or not.
| bool eVision.EasyDeepLearning.EDeepLearningDevice.IsPrecisionSupported | ( | self, | |
| eVision.EasyDeepLearning.EDeepLearningInferencePrecision | precision ) |
Whether the given precision is supported by the device or not.
| precision | Precision to check |
| bool eVision.EasyDeepLearning.EDeepLearningDevice.IsValid | ( | self | ) |
Whether this instance represents a usable device or not.
|
static |
\endcond
Default precision for this device. If supported by the device, the default precision will be FLOAT32.
|
static |
\endcond
A device index corresponding to the index of the device within the engine.
With the default engine, the device index is the index of the NVIDIA GPU for example.
|
static |
\endcond
The device type.
|
static |
\endcond
Textual description of the device type.
|
static |
\endcond
The name of the engine supporting this device.
|
static |
\endcond
A full name of the device.
|
static |
\endcond
Name of the device.
|
static |
\endcond
Precisions supported by the device.