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

Class representing the settings of a Deep Learning benchmark. More...

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

Public Member Functions

 EDeepLearningBenchmarkSettings ()
 Constructor.
 EDeepLearningBenchmarkSettings (eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings other)
 Constructor.
virtual void Load (string filePath)
 Loads a EDeepLearningBenchmarkSettings object. The given ESerializer must have been created for reading.
virtual void Load (eVision.ESerializer serializer)
 Loads a EDeepLearningBenchmarkSettings object. The given ESerializer must have been created for reading.
virtual void Save (string filePath)
 Saves the EDeepLearningBenchmarkSettings object. The given ESerializer must have been created for writing.
virtual void Save (eVision.ESerializer serializer)
 Saves the EDeepLearningBenchmarkSettings object. The given ESerializer must have been created for writing.

Properties

string Name [get, set]
 Name of the benchmark.
string Engine [get, set]
 Deep Learning engine to use for the benchmark.
eVision.EasyDeepLearning.EDeepLearningDevice Device [get, set]
 Device to use for the benchmark.
eVision.EasyDeepLearning.EDeepLearningInferencePrecision InferencePrecision [get, set]
 Inference precision to use for the benchmark.
int NumExternalThreads [get, set]
 Number of external threads.
int NumInternalThreads [get, set]
 Number of internal threads.
float CameraSpeed [get, set]
 Camera speed to simulate. If equal to 0, the benchmark will produce images as fast as possible.
int BatchSize [get, set]
 Batch size.
int NumInferences [get, set]
 Number of iterations to use during the benchmark.
bool InternalResizeDisabled [get, set]
 Whether to disable the internal resize operation performed by the Deep Learning tools. When disabled, the benchmark will generate images at the optimal size for the tool.
bool OptimizedBatchSize [get, set]
 Whether to enable the auto setup of the batch size.

Detailed Description

Class representing the settings of a Deep Learning benchmark.

License(s): EasyClassify or EasySegment or EasyLocate

Constructor & Destructor Documentation

◆ EDeepLearningBenchmarkSettings() [1/2]

eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.EDeepLearningBenchmarkSettings ( )

Constructor.

◆ EDeepLearningBenchmarkSettings() [2/2]

eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.EDeepLearningBenchmarkSettings ( eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings other)

Constructor.

Parameters
otherThe other EDeepLearningBenchmarkSettings that we will copy into this one.

Member Function Documentation

◆ Load() [1/2]

virtual void eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.Load ( eVision.ESerializer serializer)
virtual

Loads a EDeepLearningBenchmarkSettings object. The given ESerializer must have been created for reading.

Parameters
serializerPointer to the ESerializer created for reading.

◆ Load() [2/2]

virtual void eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.Load ( string filePath)
virtual

Loads a EDeepLearningBenchmarkSettings object. The given ESerializer must have been created for reading.

Parameters
filePathFile path.

◆ Save() [1/2]

virtual void eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.Save ( eVision.ESerializer serializer)
virtual

Saves the EDeepLearningBenchmarkSettings object. The given ESerializer must have been created for writing.

Parameters
serializerPointer to the ESerializer created for writing.

◆ Save() [2/2]

virtual void eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.Save ( string filePath)
virtual

Saves the EDeepLearningBenchmarkSettings object. The given ESerializer must have been created for writing.

Parameters
filePathFile path.

Property Documentation

◆ BatchSize

int eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.BatchSize
getset

Batch size.

◆ CameraSpeed

float eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.CameraSpeed
getset

Camera speed to simulate. If equal to 0, the benchmark will produce images as fast as possible.

Camera speed higher than 500 frame per seconds will lead to unreliable results.

◆ Device

eVision.EasyDeepLearning.EDeepLearningDevice eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.Device
getset

Device to use for the benchmark.

◆ Engine

string eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.Engine
getset

Deep Learning engine to use for the benchmark.

◆ InferencePrecision

eVision.EasyDeepLearning.EDeepLearningInferencePrecision eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.InferencePrecision
getset

Inference precision to use for the benchmark.

◆ InternalResizeDisabled

bool eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.InternalResizeDisabled
getset

Whether to disable the internal resize operation performed by the Deep Learning tools. When disabled, the benchmark will generate images at the optimal size for the tool.

◆ Name

string eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.Name
getset

Name of the benchmark.

◆ NumExternalThreads

int eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.NumExternalThreads
getset

Number of external threads.

◆ NumInferences

int eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.NumInferences
getset

Number of iterations to use during the benchmark.

◆ NumInternalThreads

int eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.NumInternalThreads
getset

Number of internal threads.

◆ OptimizedBatchSize

bool eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.OptimizedBatchSize
getset

Whether to enable the auto setup of the batch size.