public class LSTM extends FeedForwardLayer<org.deeplearning4j.nn.conf.layers.LSTM> implements weka.core.OptionHandler, java.io.Serializable
Constructor and Description |
---|
LSTM()
Constructor for setting some defaults.
|
Modifier and Type | Method and Description |
---|---|
Activation |
getGateActivationFn() |
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 |
setGateActivationFn(Activation gateActivationFn) |
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.LSTM>
public java.lang.String globalInfo()
@OptionMetadata(displayName="gate activation function", description="The activation function to use for the gates (default = ActivationSigmoid).", commandLineParamName="gateActivation", commandLineParamSynopsis="-gateActivation <specification>", displayOrder=2) public Activation getGateActivationFn()
public void setGateActivationFn(Activation gateActivationFn)
public java.util.Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class FeedForwardLayer<org.deeplearning4j.nn.conf.layers.LSTM>
public java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class FeedForwardLayer<org.deeplearning4j.nn.conf.layers.LSTM>
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.LSTM>
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supported