public class DFunctionDropOut_F64 extends BaseDFunction<deepboof.tensors.Tensor_F64> implements DFunctionDropOut<deepboof.tensors.Tensor_F64>
DFunctionDropOut for Tensor_F64learningMode| Constructor and Description |
|---|
DFunctionDropOut_F64(long randomSeed,
double dropRate)
Configures drop out
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
_backwards(deepboof.tensors.Tensor_F64 input,
deepboof.tensors.Tensor_F64 dout,
deepboof.tensors.Tensor_F64 gradientInput,
java.util.List<deepboof.tensors.Tensor_F64> gradientParameters) |
void |
_forward(deepboof.tensors.Tensor_F64 input,
deepboof.tensors.Tensor_F64 output) |
void |
_initialize() |
void |
_setParameters(java.util.List<deepboof.tensors.Tensor_F64> parameters) |
double |
getDropRate()
Returns a number from 0 to 1 indicating the likelihood of a neuron being dropped.
|
java.lang.Class<deepboof.tensors.Tensor_F64> |
getTensorType() |
backwards, evaluating, isLearning, learningforward, getOutputShape, getParameters, getParameterShapes, initialize, setParameterspublic DFunctionDropOut_F64(long randomSeed,
double dropRate)
randomSeed - random seed used to pick which neurons are droppeddropRate - Fraction of time a neuron is droppedpublic void _initialize()
_initialize in class deepboof.impl.forward.standard.BaseFunction<deepboof.tensors.Tensor_F64>public void _setParameters(java.util.List<deepboof.tensors.Tensor_F64> parameters)
_setParameters in class deepboof.impl.forward.standard.BaseFunction<deepboof.tensors.Tensor_F64>public void _forward(deepboof.tensors.Tensor_F64 input,
deepboof.tensors.Tensor_F64 output)
_forward in class deepboof.impl.forward.standard.BaseFunction<deepboof.tensors.Tensor_F64>public double getDropRate()
DFunctionDropOutgetDropRate in interface DFunctionDropOut<deepboof.tensors.Tensor_F64>protected void _backwards(deepboof.tensors.Tensor_F64 input,
deepboof.tensors.Tensor_F64 dout,
deepboof.tensors.Tensor_F64 gradientInput,
java.util.List<deepboof.tensors.Tensor_F64> gradientParameters)
_backwards in class BaseDFunction<deepboof.tensors.Tensor_F64>public java.lang.Class<deepboof.tensors.Tensor_F64> getTensorType()
getTensorType in interface deepboof.Function<deepboof.tensors.Tensor_F64>