public class DepthwiseConvolution2DLayer extends FeedForwardLayer<org.deeplearning4j.nn.conf.layers.DepthwiseConvolution2D> implements weka.core.OptionHandler, java.io.Serializable
| Constructor and Description |
|---|
DepthwiseConvolution2DLayer()
Constructor for setting some defaults.
|
| Modifier and Type | Method and Description |
|---|---|
ConvolutionMode |
getConvolutionMode() |
AlgoMode |
getCudnnAlgoMode() |
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 |
setConvolutionMode(ConvolutionMode convolutionMode) |
void |
setCudnnAlgoMode(AlgoMode cudnnAlgoMode) |
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
getActivationFunction, getNOut, setActivationFunction, setNOutcreate, getBackend, getLayerName, setBackend, setLayerNamepublic DepthwiseConvolution2DLayer()
public void initializeBackend()
ApiWrapperinitializeBackend in interface ApiWrapper<org.deeplearning4j.nn.conf.layers.DepthwiseConvolution2D>public java.lang.String globalInfo()
@OptionMetadata(displayName="convolution mode",
description="The convolution mode (default = Truncate).",
commandLineParamName="mode",
commandLineParamSynopsis="-mode <string>",
displayOrder=2)
public ConvolutionMode getConvolutionMode()
public void setConvolutionMode(ConvolutionMode convolutionMode)
@OptionMetadata(displayName="CudnnAlgoMode",
description="The Cudnn algo mode (default = PREFER_FASTEST).",
commandLineParamName="cudnnAlgoMode",
commandLineParamSynopsis="-cudnnAlgoMode <string>",
displayOrder=3)
public AlgoMode getCudnnAlgoMode()
public void setCudnnAlgoMode(AlgoMode cudnnAlgoMode)
public java.util.Enumeration<weka.core.Option> listOptions()
listOptions in interface weka.core.OptionHandlerlistOptions in class FeedForwardLayer<org.deeplearning4j.nn.conf.layers.DepthwiseConvolution2D>public java.lang.String[] getOptions()
getOptions in interface weka.core.OptionHandlergetOptions in class FeedForwardLayer<org.deeplearning4j.nn.conf.layers.DepthwiseConvolution2D>public void setOptions(java.lang.String[] options)
throws java.lang.Exception
setOptions in interface weka.core.OptionHandlersetOptions in class FeedForwardLayer<org.deeplearning4j.nn.conf.layers.DepthwiseConvolution2D>options - the list of options as an array of stringsjava.lang.Exception - if an option is not supported