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)
IWeightNoisegetParameter in interface IWeightNoiselayer - Layer to get the parameter forparamKey - Parameter keyiteration - Iteration numberepoch - Epoch numbertrain - If true: training. False: at test timepublic DropConnect clone()
clone in interface IWeightNoiseclone in class ObjectCopyright © 2018. All rights reserved.