Augmentations parameters.
More...
#include <augmentations.h>
|
static void | SetSeed (unsigned seed) |
| Set a fixed seed for the random generated values. Useful to reproduce experiments with same augmentations. More...
|
|
|
static std::default_random_engine | re_ |
|
static constexpr unsigned | seed_min = std::numeric_limits<unsigned>::min() |
|
static constexpr unsigned | seed_max = std::numeric_limits<unsigned>::max() |
|
Augmentations parameters.
This class represent the augmentations parameters which must be randomly generated in a specific range.
Definition at line 177 of file augmentations.h.
◆ AugmentationParam() [1/2]
ecvl::AugmentationParam::AugmentationParam |
( |
| ) |
|
|
default |
◆ AugmentationParam() [2/2]
ecvl::AugmentationParam::AugmentationParam |
( |
const double |
min, |
|
|
const double |
max |
|
) |
| |
|
inline |
◆ GenerateValue()
void ecvl::AugmentationParam::GenerateValue |
( |
| ) |
|
|
inline |
Generate the random value between min_ and max_.
Definition at line 187 of file augmentations.h.
◆ SetSeed()
static void ecvl::AugmentationParam::SetSeed |
( |
unsigned |
seed | ) |
|
|
inlinestatic |
Set a fixed seed for the random generated values. Useful to reproduce experiments with same augmentations.
- Parameters
-
[in] | seed | Value of the seed for the random engine. |
- Examples
- example_ecvl_eddl.cpp.
Definition at line 199 of file augmentations.h.
◆ max_
double ecvl::AugmentationParam::max_ |
◆ min_
double ecvl::AugmentationParam::min_ |
◆ re_
std::default_random_engine ecvl::AugmentationParam::re_ |
|
static |
◆ seed_max
constexpr unsigned ecvl::AugmentationParam::seed_max = std::numeric_limits<unsigned>::max() |
|
static |
◆ seed_min
constexpr unsigned ecvl::AugmentationParam::seed_min = std::numeric_limits<unsigned>::min() |
|
static |
◆ value_
double ecvl::AugmentationParam::value_ |
The documentation for this class was generated from the following file: