| Constructor and Description |
|---|
ConvolutionLayer()
Constructs an empty convolution layer with all zero values and default neurons and links.
|
ConvolutionLayer(int filterSize,
int padSize,
int strideSize,
int channels)
Constructs a convolution layer with parameters having identical width and height, a default ReLU neuron, and a default link.
|
ConvolutionLayer(int filterWidth,
int filterHeight,
int padWidth,
int padHeight,
int strideWidth,
int strideHeight,
int channels,
Neuron neuron,
Link link)
Constructs a general convolution layer.
|
ConvolutionLayer(int filterSize,
int padSize,
int strideSize,
int channels,
Neuron neuron,
Link link)
Constructs a convolution layer with parameters having identical width and height, and given neuron and link type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addMap(ConvolutionMap map)
Adds a convolution map to this layer.
|
java.lang.String |
toString()
Returns the width x height x depth of this layer.
|
addMap, addMap, connect, disconnect, fromXML, getDepth, getHeight, getLevel, getLinkCount, getMapCount, getMaps, getNeuron, getNeurons, getSize, getWidth, removeMap, setIOType, setLevel, toXMLpublic ConvolutionLayer()
public ConvolutionLayer(int filterSize,
int padSize,
int strideSize,
int channels)
filterSize - the width and height of the filterpadSize - the width and height of the padstrideSize - the width and height of the stridechannels - the number of filterspublic ConvolutionLayer(int filterSize,
int padSize,
int strideSize,
int channels,
Neuron neuron,
Link link)
filterSize - the width and height of the filterpadSize - the width and height of the padstrideSize - the width and height of the stridechannels - the number of filtersneuron - the neuron type (if null, default neuron)link - the link type (if null, default link)public ConvolutionLayer(int filterWidth,
int filterHeight,
int padWidth,
int padHeight,
int strideWidth,
int strideHeight,
int channels,
Neuron neuron,
Link link)
filterWidth - the width of the filterfilterHeight - the height of the filterpadWidth - the width of the padpadHeight - the height of the padstrideWidth - the width of the stridestrideHeight - the height of the stridechannels - the number of filtersneuron - the neuron type (if null, default neuron)link - the link type (if null, default link)public void addMap(ConvolutionMap map)
map - a convolution map