n2p2 - A neural network potential package
nnp::Mode::NNSetup::Topology Struct Reference

#include <Mode.h>

Collaboration diagram for nnp::Mode::NNSetup::Topology:

Public Member Functions

 Topology ()
 Constructor. More...
 

Public Attributes

int numLayers
 Number of NN layers (including input and output layer). More...
 
std::vector< int > numNeuronsPerLayer
 Number of neurons per layer. More...
 
std::vector< NeuralNetwork::ActivationFunctionactivationFunctionsPerLayer
 Activation function type per layer. More...
 

Detailed Description

Definition at line 599 of file Mode.h.

Constructor & Destructor Documentation

◆ Topology()

nnp::Mode::NNSetup::Topology::Topology ( )
inline

Constructor.

Definition at line 610 of file Mode.h.

610: numLayers(0) {};
int numLayers
Number of NN layers (including input and output layer).
Definition: Mode.h:602

Member Data Documentation

◆ numLayers

int nnp::Mode::NNSetup::Topology::numLayers

Number of NN layers (including input and output layer).

Definition at line 602 of file Mode.h.

Referenced by nnp::Mode::setupNeuralNetwork().

◆ numNeuronsPerLayer

std::vector<int> nnp::Mode::NNSetup::Topology::numNeuronsPerLayer

Number of neurons per layer.

Definition at line 604 of file Mode.h.

Referenced by nnp::Mode::setupNeuralNetwork().

◆ activationFunctionsPerLayer

std::vector< NeuralNetwork::ActivationFunction> nnp::Mode::NNSetup::Topology::activationFunctionsPerLayer

Activation function type per layer.

Definition at line 607 of file Mode.h.

Referenced by nnp::Mode::setupNeuralNetwork().


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