public class ActivationELU extends Activation<org.nd4j.linalg.activations.impl.ActivationELU> implements weka.core.OptionHandler
Constructor and Description |
---|
ActivationELU() |
Modifier and Type | Method and Description |
---|---|
double |
getAlpha() |
org.nd4j.linalg.activations.impl.ActivationELU |
getBackend()
Access the DL4J backend.
|
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier.
|
void |
initializeBackend()
Initialize the DL4J backend.
|
java.util.Enumeration<weka.core.Option> |
listOptions()
Returns an enumeration describing the available options.
|
void |
setAlpha(double alpha) |
void |
setBackend(org.nd4j.linalg.activations.impl.ActivationELU newBackend)
Set the DL4J backend.
|
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
create
public void initializeBackend()
ApiWrapper
initializeBackend
in interface ApiWrapper<org.nd4j.linalg.activations.impl.ActivationELU>
@OptionMetadata(displayName="alpha", description="The alpha value (default = 0.01).", commandLineParamName="alpha", commandLineParamSynopsis="-alpha <double>", displayOrder=1) public double getAlpha()
public void setAlpha(double alpha)
public org.nd4j.linalg.activations.impl.ActivationELU getBackend()
ApiWrapper
getBackend
in interface ApiWrapper<org.nd4j.linalg.activations.impl.ActivationELU>
getBackend
in class Activation<org.nd4j.linalg.activations.impl.ActivationELU>
public void setBackend(org.nd4j.linalg.activations.impl.ActivationELU newBackend)
ApiWrapper
setBackend
in interface ApiWrapper<org.nd4j.linalg.activations.impl.ActivationELU>
setBackend
in class Activation<org.nd4j.linalg.activations.impl.ActivationELU>
newBackend
- Backend that should be wrapped by this classpublic java.util.Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class Activation<org.nd4j.linalg.activations.impl.ActivationELU>
public java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class Activation<org.nd4j.linalg.activations.impl.ActivationELU>
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface weka.core.OptionHandler
setOptions
in class Activation<org.nd4j.linalg.activations.impl.ActivationELU>
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supported