public class RnnOutputLayer extends FeedForwardLayer<org.deeplearning4j.nn.conf.layers.RnnOutputLayer> implements weka.core.OptionHandler, java.io.Serializable
Constructor and Description |
---|
RnnOutputLayer()
Constructor for setting some defaults.
|
Modifier and Type | Method and Description |
---|---|
LossFunction<? extends org.nd4j.linalg.lossfunctions.ILossFunction> |
getLossFn() |
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 |
setLossFn(LossFunction<? extends org.nd4j.linalg.lossfunctions.ILossFunction> lossFn) |
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.RnnOutputLayer>
public java.lang.String globalInfo()
@OptionMetadata(displayName="loss function", description="The loss function to use (default = LossMCXENT).", commandLineParamName="lossFn", commandLineParamSynopsis="-lossFn <specification>", displayOrder=1) public LossFunction<? extends org.nd4j.linalg.lossfunctions.ILossFunction> getLossFn()
public void setLossFn(LossFunction<? extends org.nd4j.linalg.lossfunctions.ILossFunction> lossFn)
public java.util.Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class FeedForwardLayer<org.deeplearning4j.nn.conf.layers.RnnOutputLayer>
public java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class FeedForwardLayer<org.deeplearning4j.nn.conf.layers.RnnOutputLayer>
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.RnnOutputLayer>
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supported