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

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

Public Member Functions

None __init__ (self)
 Constructor.
None __init__ (self, eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings other)
 Constructor.
None Load (self, str filePath)
 Loads a eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings object.
None Load (self, eVision.ESerializer|None serializer)
 Loads a eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings object.
None Save (self, str filePath)
 Saves the eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings object.
None Save (self, eVision.ESerializer|None serializer)
 Saves the eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings object.
str Name (self)
 Name of the benchmark.
 Name (self, str value)
 Name of the benchmark.
str Engine (self)
 Deep Learning engine to use for the benchmark.
 Engine (self, str value)
 Deep Learning engine to use for the benchmark.
eVision.EasyDeepLearning.EDeepLearningDevice Device (self)
 Device to use for the benchmark.
 Device (self, eVision.EasyDeepLearning.EDeepLearningDevice value)
 Device to use for the benchmark.
eVision.EasyDeepLearning.EDeepLearningInferencePrecision InferencePrecision (self)
 Inference precision to use for the benchmark.
 InferencePrecision (self, eVision.EasyDeepLearning.EDeepLearningInferencePrecision value)
 Inference precision to use for the benchmark.
int NumExternalThreads (self)
 Number of external threads.
 NumExternalThreads (self, int value)
 Number of external threads.
int NumInternalThreads (self)
 Number of internal threads.
 NumInternalThreads (self, int value)
 Number of internal threads.
float CameraSpeed (self)
 Camera speed to simulate.
 CameraSpeed (self, float value)
 Camera speed to simulate.
int BatchSize (self)
 Batch size.
 BatchSize (self, int value)
 Batch size.
int NumInferences (self)
 Number of iterations to use during the benchmark.
 NumInferences (self, int value)
 Number of iterations to use during the benchmark.
bool InternalResizeDisabled (self)
 Whether to disable the internal resize operation performed by the Deep Learning tools.
 InternalResizeDisabled (self, bool value)
 Whether to disable the internal resize operation performed by the Deep Learning tools.
bool OptimizedBatchSize (self)
 Whether to enable the auto setup of the batch size.
 OptimizedBatchSize (self, bool value)
 Whether to enable the auto setup of the batch size.

Detailed Description

Class representing the settings of a Deep Learning benchmark.

Remarks:

License(s): EasyClassify or EasySegment or EasyLocate

Constructor & Destructor Documentation

◆ __init__() [1/2]

None eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.__init__ ( self)

Constructor.

◆ __init__() [2/2]

None eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.__init__ ( self,
eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings other )

Constructor.

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

Member Function Documentation

◆ BatchSize() [1/2]

int eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.BatchSize ( self)

Batch size.

◆ BatchSize() [2/2]

eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.BatchSize ( self,
int value )

Batch size.

◆ CameraSpeed() [1/2]

float eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.CameraSpeed ( self)

Camera speed to simulate.

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

Remarks:

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

◆ CameraSpeed() [2/2]

eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.CameraSpeed ( self,
float value )

Camera speed to simulate.

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

Remarks:

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

◆ Device() [1/2]

eVision.EasyDeepLearning.EDeepLearningDevice eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.Device ( self)

Device to use for the benchmark.

◆ Device() [2/2]

eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.Device ( self,
eVision.EasyDeepLearning.EDeepLearningDevice value )

Device to use for the benchmark.

◆ Engine() [1/2]

str eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.Engine ( self)

Deep Learning engine to use for the benchmark.

◆ Engine() [2/2]

eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.Engine ( self,
str value )

Deep Learning engine to use for the benchmark.

◆ InferencePrecision() [1/2]

eVision.EasyDeepLearning.EDeepLearningInferencePrecision eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.InferencePrecision ( self)

Inference precision to use for the benchmark.

◆ InferencePrecision() [2/2]

eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.InferencePrecision ( self,
eVision.EasyDeepLearning.EDeepLearningInferencePrecision value )

Inference precision to use for the benchmark.

◆ InternalResizeDisabled() [1/2]

bool eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.InternalResizeDisabled ( self)

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.

◆ InternalResizeDisabled() [2/2]

eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.InternalResizeDisabled ( self,
bool value )

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.

◆ Load() [1/2]

None eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.Load ( self,
eVision.ESerializer | None serializer )

Loads a eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings object.

The given eVision.ESerializer must have been created for reading.

Parameters
serializerPointer to the eVision.ESerializer created for reading.

◆ Load() [2/2]

None eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.Load ( self,
str filePath )

Loads a eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings object.

The given eVision.ESerializer must have been created for reading.

Parameters
filePathFile path.

◆ Name() [1/2]

str eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.Name ( self)

Name of the benchmark.

◆ Name() [2/2]

eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.Name ( self,
str value )

Name of the benchmark.

◆ NumExternalThreads() [1/2]

int eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.NumExternalThreads ( self)

Number of external threads.

◆ NumExternalThreads() [2/2]

eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.NumExternalThreads ( self,
int value )

Number of external threads.

◆ NumInferences() [1/2]

int eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.NumInferences ( self)

Number of iterations to use during the benchmark.

◆ NumInferences() [2/2]

eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.NumInferences ( self,
int value )

Number of iterations to use during the benchmark.

◆ NumInternalThreads() [1/2]

int eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.NumInternalThreads ( self)

Number of internal threads.

◆ NumInternalThreads() [2/2]

eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.NumInternalThreads ( self,
int value )

Number of internal threads.

◆ OptimizedBatchSize() [1/2]

bool eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.OptimizedBatchSize ( self)

Whether to enable the auto setup of the batch size.

◆ OptimizedBatchSize() [2/2]

eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.OptimizedBatchSize ( self,
bool value )

Whether to enable the auto setup of the batch size.

◆ Save() [1/2]

None eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.Save ( self,
eVision.ESerializer | None serializer )

Saves the eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings object.

The given eVision.ESerializer must have been created for writing.

Parameters
serializerPointer to the eVision.ESerializer created for writing.

◆ Save() [2/2]

None eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.Save ( self,
str filePath )

Saves the eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings object.

The given eVision.ESerializer must have been created for writing.

Parameters
filePathFile path.