eVision .NET API
Loading...
Searching...
No Matches
eVision.EasyDeepLearning.EDeepLearningDevice Class Reference

Class representing a device that can run a neural network. A device is fully described by its EDeepLearningDevice.Name and EDeepLearningDevice.EngineName. More...

Inheritance diagram for eVision.EasyDeepLearning.EDeepLearningDevice:
Collaboration diagram for eVision.EasyDeepLearning.EDeepLearningDevice:

Public Member Functions

 EDeepLearningDevice ()
 Default constructor. The resulting device will be invalid.
 EDeepLearningDevice (eVision.EasyDeepLearning.EDeepLearningDevice other)
 Copy constructor.
bool HasTrainingCapability ()
 Whether the device can perform training or not.
bool HasInferenceCapability ()
 Whether the device can perform inference or not.
bool IsPrecisionSupported (eVision.EasyDeepLearning.EDeepLearningInferencePrecision precision)
 Whether the given precision is supported by the device or not.
bool IsValid ()
 Whether this instance represents a usable device or not.

Properties

string Name [get]
 Name of the device.
string FullName [get]
 A full name of the device.
string EngineName [get]
 The name of the engine supporting this device.
eVision.EasyDeepLearning.EDeepLearningDeviceType DeviceType [get]
 The device type.
string DeviceTypeDescription [get]
 Textual description of the device type.
int DeviceId [get]
 A device index corresponding to the index of the device within the engine.
eVision.EasyDeepLearning.EDeepLearningInferencePrecision[] SupportedPrecisions [get]
 Precisions supported by the device.
eVision.EasyDeepLearning.EDeepLearningInferencePrecision DefaultPrecision [get]
 Default precision for this device. If supported by the device, the default precision will be FLOAT32.

Detailed Description

Class representing a device that can run a neural network. A device is fully described by its EDeepLearningDevice.Name and EDeepLearningDevice.EngineName.

The other properties are information about the device and its capabilities.

License(s): BasicTypes

Constructor & Destructor Documentation

◆ EDeepLearningDevice() [1/2]

eVision.EasyDeepLearning.EDeepLearningDevice.EDeepLearningDevice ( )

Default constructor. The resulting device will be invalid.

◆ EDeepLearningDevice() [2/2]

eVision.EasyDeepLearning.EDeepLearningDevice.EDeepLearningDevice ( eVision.EasyDeepLearning.EDeepLearningDevice other)

Copy constructor.

Parameters
otherDevice to copy

Member Function Documentation

◆ HasInferenceCapability()

bool eVision.EasyDeepLearning.EDeepLearningDevice.HasInferenceCapability ( )

Whether the device can perform inference or not.

◆ HasTrainingCapability()

bool eVision.EasyDeepLearning.EDeepLearningDevice.HasTrainingCapability ( )

Whether the device can perform training or not.

◆ IsPrecisionSupported()

bool eVision.EasyDeepLearning.EDeepLearningDevice.IsPrecisionSupported ( eVision.EasyDeepLearning.EDeepLearningInferencePrecision precision)

Whether the given precision is supported by the device or not.

Parameters
precisionPrecision to check

◆ IsValid()

bool eVision.EasyDeepLearning.EDeepLearningDevice.IsValid ( )

Whether this instance represents a usable device or not.

Property Documentation

◆ DefaultPrecision

eVision.EasyDeepLearning.EDeepLearningInferencePrecision eVision.EasyDeepLearning.EDeepLearningDevice.DefaultPrecision
get

Default precision for this device. If supported by the device, the default precision will be FLOAT32.

◆ DeviceId

int eVision.EasyDeepLearning.EDeepLearningDevice.DeviceId
get

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.

◆ DeviceType

eVision.EasyDeepLearning.EDeepLearningDeviceType eVision.EasyDeepLearning.EDeepLearningDevice.DeviceType
get

The device type.

◆ DeviceTypeDescription

string eVision.EasyDeepLearning.EDeepLearningDevice.DeviceTypeDescription
get

Textual description of the device type.

◆ EngineName

string eVision.EasyDeepLearning.EDeepLearningDevice.EngineName
get

The name of the engine supporting this device.

◆ FullName

string eVision.EasyDeepLearning.EDeepLearningDevice.FullName
get

A full name of the device.

◆ Name

string eVision.EasyDeepLearning.EDeepLearningDevice.Name
get

Name of the device.

◆ SupportedPrecisions

eVision.EasyDeepLearning.EDeepLearningInferencePrecision [] eVision.EasyDeepLearning.EDeepLearningDevice.SupportedPrecisions
get

Precisions supported by the device.