public class ZeroPaddingLayer extends Layer<org.deeplearning4j.nn.conf.layers.ZeroPaddingLayer> implements weka.core.OptionHandler, java.io.Serializable
Constructor and Description |
---|
ZeroPaddingLayer()
Constructor for setting some defaults.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier.
|
int[] |
getPadding() |
int |
getPaddingColumns() |
int |
getPaddingRows() |
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 |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
void |
setPadding(int[] padding) |
void |
setPaddingColumns(int padding) |
void |
setPaddingRows(int padding) |
create, getBackend, getLayerName, setBackend, setLayerName
public ZeroPaddingLayer()
@OptionMetadata(displayName="number of rows in padding", description="The number of rows in the padding (default = 0).", commandLineParamName="paddingRows", commandLineParamSynopsis="-paddingRows <int>", displayOrder=8) public int getPaddingRows()
public void setPaddingRows(int padding)
@ProgrammaticProperty public int[] getPadding()
public void setPadding(int[] padding)
@OptionMetadata(displayName="number of columns in padding", description="The number of columns in the padding (default = 0).", commandLineParamName="paddingColumns", commandLineParamSynopsis="-paddingColumns <int>", displayOrder=9) public int getPaddingColumns()
public void setPaddingColumns(int padding)
public java.lang.String globalInfo()
public java.util.Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class Layer<org.deeplearning4j.nn.conf.layers.ZeroPaddingLayer>
public java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class Layer<org.deeplearning4j.nn.conf.layers.ZeroPaddingLayer>
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface weka.core.OptionHandler
setOptions
in class Layer<org.deeplearning4j.nn.conf.layers.ZeroPaddingLayer>
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supportedpublic void initializeBackend()
ApiWrapper
initializeBackend
in interface ApiWrapper<org.deeplearning4j.nn.conf.layers.ZeroPaddingLayer>