public class FeatureMapLayer extends Layer
| Constructor and Description |
|---|
FeatureMapLayer(Dimension2D dimensions,
Dimension2D kernelDimension)
Creates an empty 2D layer with specified dimensions and kernel
|
FeatureMapLayer(Dimension2D dimensions,
NeuronProperties neuronProperties)
Creates an empty 2D layer with specified dimensions
|
FeatureMapLayer(Dimension2D dimensions,
NeuronProperties neuronProperties,
Dimension2D kernelDimension)
Creates 2D layer with specified dimensions, filled with neurons with
specified properties
|
| Modifier and Type | Method and Description |
|---|---|
Dimension2D |
getDimensions()
Returns dimensions of this layer
|
int |
getHeight()
Returns height of this layer
|
Kernel |
getKernel() |
Neuron |
getNeuronAt(int x,
int y)
Returns neuron at specified position in this layer
|
int |
getWidth()
Returns width of this layer
|
addNeuron, addNeuron, calculate, getLabel, getNeuronAt, getNeurons, getNeuronsCount, getParentNetwork, indexOf, initializeWeights, isEmpty, iterator, removeAllNeurons, removeNeuron, removeNeuronAt, reset, setLabel, setNeuron, setParentNetworkclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic FeatureMapLayer(Dimension2D dimensions, NeuronProperties neuronProperties)
dimensions - layer dimensions (width and weight)public FeatureMapLayer(Dimension2D dimensions, Dimension2D kernelDimension)
dimensions - layer dimensions (width and weight)public FeatureMapLayer(Dimension2D dimensions, NeuronProperties neuronProperties, Dimension2D kernelDimension)
dimensions - layer dimensionsneuronProperties - neuron propertiespublic int getWidth()
public int getHeight()
public Dimension2D getDimensions()
public Neuron getNeuronAt(int x, int y)
x - neuron's x positiony - neuron's y positionpublic Kernel getKernel()
Copyright © 2019 Neuroph Project. All rights reserved.