public class DropoutLayer extends FeedForwardLayer<org.deeplearning4j.nn.conf.layers.DropoutLayer> implements weka.core.OptionHandler, java.io.Serializable
Constructor and Description |
---|
DropoutLayer()
Constructor for setting some defaults.
|
Modifier and Type | Method and Description |
---|---|
AbstractDropout |
getDropout() |
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier.
|
java.lang.String |
globalInfo()
Global info.
|
void |
initializeBackend()
Initialize the DL4J backend.
|
java.util.Enumeration<weka.core.Option> |
listOptions()
Returns an enumeration describing the available options.
|
void |
setDropout(AbstractDropout dropout) |
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
getActivationFunction, getNOut, setActivationFunction, setNOut
create, getBackend, getLayerName, setBackend, setLayerName
public void initializeBackend()
ApiWrapper
initializeBackend
in interface ApiWrapper<org.deeplearning4j.nn.conf.layers.DropoutLayer>
@OptionMetadata(displayName="dropout", description="The dropout method to use (default = Dropout(0.8)).", commandLineParamName="dropout", commandLineParamSynopsis="-dropout <Dropout>", displayOrder=25) public AbstractDropout getDropout()
public void setDropout(AbstractDropout dropout)
public java.lang.String globalInfo()
public java.util.Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class FeedForwardLayer<org.deeplearning4j.nn.conf.layers.DropoutLayer>
public java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class FeedForwardLayer<org.deeplearning4j.nn.conf.layers.DropoutLayer>
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.DropoutLayer>
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supported