public class DropConnect extends Object implements IWeightNoise
Constructor and Description |
---|
DropConnect(double weightRetainProbability) |
DropConnect(double weightRetainProbability,
boolean applyToBiases) |
DropConnect(org.nd4j.linalg.schedule.ISchedule weightRetainProbSchedule) |
DropConnect(org.nd4j.linalg.schedule.ISchedule weightRetainProbSchedule,
boolean applyToBiases) |
Modifier and Type | Method and Description |
---|---|
DropConnect |
clone() |
org.nd4j.linalg.api.ndarray.INDArray |
getParameter(Layer layer,
String paramKey,
int iteration,
int epoch,
boolean train,
LayerWorkspaceMgr workspaceMgr)
Get the parameter, after applying weight noise
|
public DropConnect(double weightRetainProbability)
weightRetainProbability
- Probability of retaining a weightpublic DropConnect(double weightRetainProbability, boolean applyToBiases)
weightRetainProbability
- Probability of retaining a weightapplyToBiases
- If true: apply to biases (default: weights only)public DropConnect(org.nd4j.linalg.schedule.ISchedule weightRetainProbSchedule)
weightRetainProbSchedule
- Probability (schedule) of retaining a weightpublic DropConnect(org.nd4j.linalg.schedule.ISchedule weightRetainProbSchedule, boolean applyToBiases)
weightRetainProbSchedule
- Probability (schedule) of retaining a weightapplyToBiases
- If true: apply to biases (default: weights only)public org.nd4j.linalg.api.ndarray.INDArray getParameter(Layer layer, String paramKey, int iteration, int epoch, boolean train, LayerWorkspaceMgr workspaceMgr)
IWeightNoise
getParameter
in interface IWeightNoise
layer
- Layer to get the parameter forparamKey
- Parameter keyiteration
- Iteration numberepoch
- Epoch numbertrain
- If true: training. False: at test timepublic DropConnect clone()
clone
in interface IWeightNoise
clone
in class Object
Copyright © 2018. All rights reserved.