C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

List of all members
Parameter Class Reference

Parameters for the dropout layer. More...

Class Declaration

class DAAL_EXPORT Parameter: public layers::Parameter
{
public:
Parameter(const double retainRatio_ = 0.5, const size_t seed_ = 777);
double retainRatio;
size_t seed;
engines::EnginePtr engine;
DAAL_DEPRECATED_VIRTUAL virtual services::Status check() const;
};
Deprecated:
This item will be removed in a future release.

Constructor & Destructor Documentation

Parameter ( const double  retainRatio_ = 0.5,
const size_t  seed_ = 777 
)

Constructs parameters of the dropout layer

Parameters
[in]retainRatio_Probability that any particular element is retained
[in]seed_Seed for mask elements random generation
Deprecated:
This item will be removed in a future release.
Deprecated:
This item will be removed in a future release.

Member Function Documentation

virtual DAAL_DEPRECATED_VIRTUAL services::Status check ( ) const
virtual

Checks the correctness of the parameter

Returns
Status of computations
Deprecated:
This item will be removed in a future release.

Member Data Documentation

engines::EnginePtr engine

Engine for mask elements random generation.

double retainRatio

Probability that any particular element is retained.

size_t seed

Seed for mask elements random generation.

Deprecated:
This item will be removed in a future release.

The documentation for this class was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.