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. | |
| str | Name (self) |
| Name of the device. | |
| str | FullName (self) |
| A full name of the device. | |
| str | EngineName (self) |
| The name of the engine supporting this device. | |
| eVision.EasyDeepLearning.EDeepLearningDeviceType | DeviceType (self) |
| The device type. | |
| str | DeviceTypeDescription (self) |
| Textual description of the device type. | |
| int | DeviceId (self) |
| A device index corresponding to the index of the device within the engine. | |
| list[eVision._eVision.EasyDeepLearning.EDeepLearningInferencePrecision] | SupportedPrecisions (self) |
| Precisions supported by the device. | |
| eVision.EasyDeepLearning.EDeepLearningInferencePrecision | DefaultPrecision (self) |
| Default precision for this device. | |
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 |
| eVision.EasyDeepLearning.EDeepLearningInferencePrecision eVision.EasyDeepLearning.EDeepLearningDevice.DefaultPrecision | ( | self | ) |
Default precision for this device.
If supported by the device, the default precision will be FLOAT32.
| int eVision.EasyDeepLearning.EDeepLearningDevice.DeviceId | ( | self | ) |
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.
| eVision.EasyDeepLearning.EDeepLearningDeviceType eVision.EasyDeepLearning.EDeepLearningDevice.DeviceType | ( | self | ) |
The device type.
| str eVision.EasyDeepLearning.EDeepLearningDevice.DeviceTypeDescription | ( | self | ) |
Textual description of the device type.
| str eVision.EasyDeepLearning.EDeepLearningDevice.EngineName | ( | self | ) |
The name of the engine supporting this device.
| str eVision.EasyDeepLearning.EDeepLearningDevice.FullName | ( | self | ) |
A full name of 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.
| str eVision.EasyDeepLearning.EDeepLearningDevice.Name | ( | self | ) |
Name of the device.
| list[eVision._eVision.EasyDeepLearning.EDeepLearningInferencePrecision] eVision.EasyDeepLearning.EDeepLearningDevice.SupportedPrecisions | ( | self | ) |
Precisions supported by the device.