T
- Feed forward layer implementationpublic abstract class FeedForwardLayer<T extends org.deeplearning4j.nn.conf.layers.FeedForwardLayer> extends Layer<T>
Constructor and Description |
---|
FeedForwardLayer() |
Modifier and Type | Method and Description |
---|---|
Activation |
getActivationFunction() |
long |
getNOut() |
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier.
|
java.util.Enumeration<weka.core.Option> |
listOptions()
Returns an enumeration describing the available options.
|
void |
setActivationFunction(Activation activationFn) |
void |
setNOut(long nOut) |
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
create, getBackend, getLayerName, setBackend, setLayerName
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeBackend
@OptionMetadata(displayName="activation function", description="The activation function to use (default = Identity).", commandLineParamName="activation", commandLineParamSynopsis="-activation <specification>", displayOrder=1) public Activation getActivationFunction()
public void setActivationFunction(Activation activationFn)
@OptionMetadata(displayName="number of outputs", description="The number of outputs.", commandLineParamName="nOut", commandLineParamSynopsis="-nOut <int>", displayOrder=2) public long getNOut()
public void setNOut(long nOut)
public java.util.Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class Layer<T extends org.deeplearning4j.nn.conf.layers.FeedForwardLayer>
public java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class Layer<T extends org.deeplearning4j.nn.conf.layers.FeedForwardLayer>
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface weka.core.OptionHandler
setOptions
in class Layer<T extends org.deeplearning4j.nn.conf.layers.FeedForwardLayer>
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supported