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. | |
Protected Member Functions | |
| str | _Name__getter (self) |
| \cond | |
| _Name__setter (self, str value) | |
| Name of the benchmark. | |
| str | _Engine__getter (self) |
| \cond | |
| _Engine__setter (self, str value) | |
| Deep Learning engine to use for the benchmark. | |
| eVision.EasyDeepLearning.EDeepLearningDevice | _Device__getter (self) |
| \cond | |
| _Device__setter (self, eVision.EasyDeepLearning.EDeepLearningDevice value) | |
| Device to use for the benchmark. | |
| eVision.EasyDeepLearning.EDeepLearningInferencePrecision | _InferencePrecision__getter (self) |
| \cond | |
| _InferencePrecision__setter (self, eVision.EasyDeepLearning.EDeepLearningInferencePrecision value) | |
| Inference precision to use for the benchmark. | |
| int | _NumExternalThreads__getter (self) |
| \cond | |
| _NumExternalThreads__setter (self, int value) | |
| Number of external threads. | |
| int | _NumInternalThreads__getter (self) |
| \cond | |
| _NumInternalThreads__setter (self, int value) | |
| Number of internal threads. | |
| float | _CameraSpeed__getter (self) |
| \cond | |
| _CameraSpeed__setter (self, float value) | |
| Camera speed to simulate. | |
| int | _BatchSize__getter (self) |
| \cond | |
| _BatchSize__setter (self, int value) | |
| Batch size. | |
| int | _NumInferences__getter (self) |
| \cond | |
| _NumInferences__setter (self, int value) | |
| Number of iterations to use during the benchmark. | |
| bool | _InternalResizeDisabled__getter (self) |
| \cond | |
| _InternalResizeDisabled__setter (self, bool value) | |
| Whether to disable the internal resize operation performed by the Deep Learning tools. | |
| bool | _OptimizedBatchSize__getter (self) |
| \cond | |
| _OptimizedBatchSize__setter (self, bool value) | |
| Whether to enable the auto setup of the batch size. | |
Properties | |
| Name = property(_Name__getter, _Name__setter) | |
| \endcond | |
| Engine = property(_Engine__getter, _Engine__setter) | |
| \endcond | |
| Device = property(_Device__getter, _Device__setter) | |
| \endcond | |
| InferencePrecision = property(_InferencePrecision__getter, _InferencePrecision__setter) | |
| \endcond | |
| NumExternalThreads = property(_NumExternalThreads__getter, _NumExternalThreads__setter) | |
| \endcond | |
| NumInternalThreads = property(_NumInternalThreads__getter, _NumInternalThreads__setter) | |
| \endcond | |
| CameraSpeed = property(_CameraSpeed__getter, _CameraSpeed__setter) | |
| \endcond | |
| BatchSize = property(_BatchSize__getter, _BatchSize__setter) | |
| \endcond | |
| NumInferences = property(_NumInferences__getter, _NumInferences__setter) | |
| \endcond | |
| InternalResizeDisabled = property(_InternalResizeDisabled__getter, _InternalResizeDisabled__setter) | |
| \endcond | |
| OptimizedBatchSize = property(_OptimizedBatchSize__getter, _OptimizedBatchSize__setter) | |
| \endcond | |
Class representing the settings of a Deep Learning benchmark.
Remarks:
License(s): EasyClassify or EasySegment or EasyLocate
| None eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.__init__ | ( | self | ) |
Constructor.
| None eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.__init__ | ( | self, | |
| eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings | other ) |
Constructor.
| other | The other eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings that we will copy into this one. |
|
protected |
\cond
Batch size.
|
protected |
Batch size.
|
protected |
\cond
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.
|
protected |
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.
|
protected |
\cond
Device to use for the benchmark.
|
protected |
Device to use for the benchmark.
|
protected |
\cond
Deep Learning engine to use for the benchmark.
|
protected |
Deep Learning engine to use for the benchmark.
|
protected |
\cond
Inference precision to use for the benchmark.
|
protected |
Inference precision to use for the benchmark.
|
protected |
\cond
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.
|
protected |
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.
|
protected |
\cond
Name of the benchmark.
|
protected |
Name of the benchmark.
|
protected |
\cond
Number of external threads.
|
protected |
Number of external threads.
|
protected |
\cond
Number of iterations to use during the benchmark.
|
protected |
Number of iterations to use during the benchmark.
|
protected |
\cond
Number of internal threads.
|
protected |
Number of internal threads.
|
protected |
\cond
Whether to enable the auto setup of the batch size.
|
protected |
Whether to enable the auto setup of the batch size.
| 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.
| serializer | Pointer to the eVision.ESerializer created for reading. |
| None eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.Load | ( | self, | |
| str | filePath ) |
Loads a eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings object.
The given eVision.ESerializer must have been created for reading.
| filePath | File path. |
| 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.
| serializer | Pointer to the eVision.ESerializer created for writing. |
| None eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings.Save | ( | self, | |
| str | filePath ) |
Saves the eVision.EasyDeepLearning.EDeepLearningBenchmarkSettings object.
The given eVision.ESerializer must have been created for writing.
| filePath | File path. |
|
static |
\endcond
Batch size.
|
static |
\endcond
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.
|
static |
\endcond
Device to use for the benchmark.
|
static |
\endcond
Deep Learning engine to use for the benchmark.
|
static |
\endcond
Inference precision to use for the benchmark.
|
static |
\endcond
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.
|
static |
\endcond
Name of the benchmark.
|
static |
\endcond
Number of external threads.
|
static |
\endcond
Number of iterations to use during the benchmark.
|
static |
\endcond
Number of internal threads.
|
static |
\endcond
Whether to enable the auto setup of the batch size.