public class BatchNormalization extends FeedForwardLayer<org.deeplearning4j.nn.conf.layers.BatchNormalization> implements weka.core.OptionHandler, java.io.Serializable
Constructor and Description |
---|
BatchNormalization()
Constructor for setting some defaults.
|
Modifier and Type | Method and Description |
---|---|
double |
getBeta() |
double |
getDecay() |
double |
getEps() |
double |
getGamma() |
boolean |
getIsMinibatch() |
boolean |
getLockGammaAndBeta() |
long |
getNOut()
Deprecated.
|
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier.
|
java.lang.String |
globalInfo()
Global info.
|
void |
initializeBackend()
Initialize the DL4J backend.
|
boolean |
isLockGammaBeta() |
java.util.Enumeration<weka.core.Option> |
listOptions()
Returns an enumeration describing the available options.
|
void |
setBeta(double beta) |
void |
setDecay(double decay) |
void |
setEps(double eps) |
void |
setGamma(double gamma) |
void |
setLockGammaAndBeta(boolean lgb) |
void |
setLockGammaBeta(boolean lgb) |
void |
setMinibatch(boolean b) |
void |
setNOut(long nOut)
Deprecated.
|
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
getActivationFunction, setActivationFunction
create, getBackend, getLayerName, setBackend, setLayerName
public BatchNormalization()
public java.lang.String globalInfo()
@OptionMetadata(displayName="decay parameter", description="The decay parameter (default = 0.9).", commandLineParamName="decay", commandLineParamSynopsis="-decay <double>", displayOrder=1) public double getDecay()
public void setDecay(double decay)
@OptionMetadata(displayName="eps parameter", description="The eps parameter (default = 1e-5).", commandLineParamName="eps", commandLineParamSynopsis="-eps <double>", displayOrder=2) public double getEps()
public void setEps(double eps)
@OptionMetadata(displayName="gamma parameter", description="The gamma parameter (default = 1).", commandLineParamName="gamma", commandLineParamSynopsis="-gamma <double>", displayOrder=3) public double getGamma()
public void setGamma(double gamma)
@OptionMetadata(displayName="beta parameter", description="The beta parameter (default = 0).", commandLineParamName="beta", commandLineParamSynopsis="-beta <double>", displayOrder=4) public double getBeta()
public void setBeta(double beta)
@OptionMetadata(displayName="lock gamma and beta", description="Whether to lock gamma and beta.", commandLineParamName="beta", commandLineParamSynopsis="-lockGammaBeta", displayOrder=5) public boolean getLockGammaAndBeta()
public void setLockGammaAndBeta(boolean lgb)
@ProgrammaticProperty public boolean isLockGammaBeta()
public void setLockGammaBeta(boolean lgb)
@OptionMetadata(displayName="isMinibatch", description="Whether minibatches are not not used.", commandLineParamName="isMinibatch", commandLineParamSynopsis="-isMinibatch", displayOrder=6) public boolean getIsMinibatch()
public void setMinibatch(boolean b)
@ProgrammaticProperty @Deprecated public long getNOut()
getNOut
in class FeedForwardLayer<org.deeplearning4j.nn.conf.layers.BatchNormalization>
@ProgrammaticProperty @Deprecated public void setNOut(long nOut)
setNOut
in class FeedForwardLayer<org.deeplearning4j.nn.conf.layers.BatchNormalization>
public java.util.Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class FeedForwardLayer<org.deeplearning4j.nn.conf.layers.BatchNormalization>
public java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class FeedForwardLayer<org.deeplearning4j.nn.conf.layers.BatchNormalization>
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface weka.core.OptionHandler
setOptions
in class FeedForwardLayer<org.deeplearning4j.nn.conf.layers.BatchNormalization>
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supportedpublic void initializeBackend()
ApiWrapper
initializeBackend
in interface ApiWrapper<org.deeplearning4j.nn.conf.layers.BatchNormalization>