public class DropConnect extends Object implements IWeightNoise
| Constructor and Description |
|---|
DropConnect(double weightRetainProbability) |
DropConnect(double weightRetainProbability,
boolean applyToBiases) |
DropConnect(ISchedule weightRetainProbSchedule) |
DropConnect(ISchedule weightRetainProbSchedule,
boolean applyToBiases) |
| Modifier and Type | Method and Description |
|---|---|
DropConnect |
clone() |
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(ISchedule weightRetainProbSchedule)
weightRetainProbSchedule - Probability (schedule) of retaining a weightpublic DropConnect(ISchedule weightRetainProbSchedule, boolean applyToBiases)
weightRetainProbSchedule - Probability (schedule) of retaining a weightapplyToBiases - If true: apply to biases (default: weights only)public 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 © 2021. All rights reserved.