public abstract class FilterMap extends Map
| Modifier and Type | Field and Description |
|---|---|
protected int |
connectedFilters
The number of filters currently connected to previous layer.
|
protected int |
filterHeight
The height of the filter.
|
protected java.util.List<Link[][]> |
filters
The filter bank.
|
protected int |
filterWidth
The width of the filter.
|
protected int |
padHeight
The height of padding.
|
protected int |
padWidth
The width of padding.
|
protected int |
strideHeight
The height of a stride.
|
protected int |
strideWidth
The width of a stride.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
attachFilter(int row,
int col,
Map pre,
Neuron detector)
Attaches the filter to the previous map.
|
boolean |
connect(Map other)
Connects this map with the given previous map using the given link type for the filter.
|
protected void |
createFilter()
Creates the filter.
|
int |
getFilterHeight()
Returns the filter height.
|
protected Link |
getFilterLink(Neuron sink,
Link link)
Returns a cloned filter link.
|
java.util.List<Link[][]> |
getFilters()
Returns the filter bank.
|
int |
getFilterWidth()
Returns the filter width.
|
int |
getPadHeight()
Returns the pad height.
|
int |
getPadWidth()
Returns the pad width.
|
int |
getStrideHeight()
Returns the stride height.
|
int |
getStrideWidth()
Returns the stride width.
|
clone, connect, disconnect, getDepth, getHeight, getLinkCount, getNeuron, getNeuron, getNeurons, getSize, getWidth, reset, setIOType, toString, toXMLprotected int filterWidth
protected int filterHeight
protected int padWidth
protected int padHeight
protected int strideWidth
protected int strideHeight
protected java.util.List<Link[][]> filters
protected int connectedFilters
public int getFilterWidth()
public int getFilterHeight()
public int getPadWidth()
public int getPadHeight()
public int getStrideWidth()
public int getStrideHeight()
public java.util.List<Link[][]> getFilters()
public boolean connect(Map other)
protected void attachFilter(int row,
int col,
Map pre,
Neuron detector)
row - the row of the top left position in the previous map (may be outside of map)col - the column of the top left position in the previous map (may be outside of map)pre - the previous mapdetector - a detector neuronprotected Link getFilterLink(Neuron sink, Link link)
sink - a detector neuronlink - a filter linkprotected void createFilter()