public class ActivationLayer extends Layer<org.deeplearning4j.nn.conf.layers.ActivationLayer> implements weka.core.OptionHandler, java.io.Serializable
| Constructor and Description |
|---|
ActivationLayer()
Constructor for setting some defaults.
|
| Modifier and Type | Method and Description |
|---|---|
Activation |
getActivationFunction() |
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 |
setActivationFunction(Activation activationFn) |
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
create, getBackend, getLayerName, setBackend, setLayerName@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)
public java.lang.String globalInfo()
public java.util.Enumeration<weka.core.Option> listOptions()
listOptions in interface weka.core.OptionHandlerlistOptions in class Layer<org.deeplearning4j.nn.conf.layers.ActivationLayer>public java.lang.String[] getOptions()
getOptions in interface weka.core.OptionHandlergetOptions in class Layer<org.deeplearning4j.nn.conf.layers.ActivationLayer>public void setOptions(java.lang.String[] options)
throws java.lang.Exception
setOptions in interface weka.core.OptionHandlersetOptions in class Layer<org.deeplearning4j.nn.conf.layers.ActivationLayer>options - the list of options as an array of stringsjava.lang.Exception - if an option is not supportedpublic void initializeBackend()
ApiWrapperinitializeBackend in interface ApiWrapper<org.deeplearning4j.nn.conf.layers.ActivationLayer>