n2p2 - A neural network potential package
nnp::NeuralNetwork::Layer Struct Reference

One neural network layer. More...

Collaboration diagram for nnp::NeuralNetwork::Layer:

Public Attributes

int numNeurons
 Number of neurons in this layer \( N_n \). More...
 
int numNeuronsPrevLayer
 Number of neurons in previous layer \( N_{n-1} \). More...
 
ActivationFunction activationFunction
 Common activation function for all neurons in this layer. More...
 
Neuronneurons
 Array of neurons in this layer. More...
 

Detailed Description

One neural network layer.

Definition at line 394 of file NeuralNetwork.h.

Member Data Documentation

◆ numNeurons

◆ numNeuronsPrevLayer

◆ activationFunction

ActivationFunction nnp::NeuralNetwork::Layer::activationFunction

Common activation function for all neurons in this layer.

Definition at line 401 of file NeuralNetwork.h.

Referenced by nnp::NeuralNetwork::allocateLayer(), and nnp::NeuralNetwork::propagateLayer().

◆ neurons


The documentation for this struct was generated from the following file: