public class Dropout extends Object
| Constructor and Description |
|---|
Dropout() |
| Modifier and Type | Method and Description |
|---|---|
static org.nd4j.linalg.api.ndarray.INDArray |
applyDropConnect(Layer layer,
String variable)
Apply drop connect to the given variable
|
static org.nd4j.linalg.api.ndarray.INDArray |
applyDropout(org.nd4j.linalg.api.ndarray.INDArray input,
double dropout,
org.nd4j.linalg.api.ndarray.INDArray dropoutMask)
Apply dropout to the given input
and return the drop out mask used
|
public static org.nd4j.linalg.api.ndarray.INDArray applyDropConnect(Layer layer, String variable)
layer - the layer with the variablesvariable - the variable to applypublic static org.nd4j.linalg.api.ndarray.INDArray applyDropout(org.nd4j.linalg.api.ndarray.INDArray input,
double dropout,
org.nd4j.linalg.api.ndarray.INDArray dropoutMask)
input - the input to do drop out ondropout - the drop out probabilitydropoutMask - the dropout mask applied (can be null)Copyright © 2016. All Rights Reserved.