Class that specifies parameters of the dropout layer.
More...
Constructs the parameters for the dropout layer
- Parameters
-
context | Context to manage the parameter for the dropout layer |
double getRetainRatio |
( |
| ) |
|
Gets the probability that any particular element is retained
- Deprecated:
- This item will be removed in a future release.
Gets the seed for mask elements random generation
Sets the engine for mask elements random generation
- Parameters
-
engine | for mask elements random generation |
void setRetainRatio |
( |
double |
retainRatio | ) |
|
Sets the probability that any particular element is retained
- Parameters
-
retainRatio | Probability that any particular element is retained |
void setSeed |
( |
long |
seed | ) |
|
- Deprecated:
- This item will be removed in a future release.
Sets the seed for mask elements random generation
- Parameters
-
seed | Seed for mask elements random generation |
The documentation for this class was generated from the following file: