- docs.neurons.me Layer

Class

Layer

Layer()

Class representing a layer of neurons.
Constructor

# new Layer()

Create a layer.

View Source src/Layer.js, line 8

Methods

# addNeuron(neuron)

Add a neuron to the layer.
Parameters:
Name Type Description
neuron Neuron The neuron to add.

View Source src/Layer.js, line 20

# getNeurons() → {Array.<Neuron>}

Get all neurons in the layer.

View Source src/Layer.js, line 39

An array of neurons.
Array.<Neuron>

# removeNeuron(neuron)

Remove a neuron from the layer.
Parameters:
Name Type Description
neuron Neuron The neuron to remove.

View Source src/Layer.js, line 28

Witness our Seal.
neurons.me