Linear activation Neuron. More...
#include <shark/Models/NeuronLayers.h>
Public Types | |
typedef EmptyState | State |
Public Member Functions | |
template<class Arg > | |
void | evalInPlace (Arg &) const |
template<class Arg > | |
void | evalInPlace (Arg &arg, State const &) const |
template<class Output , class Derivative > | |
void | multiplyDerivative (Output const &output, Derivative &der, State const &state) const |
Linear activation Neuron.
It is defined as
\[ f(x)=x\]
Definition at line 128 of file NeuronLayers.h.
typedef EmptyState shark::LinearNeuron::State |
Definition at line 129 of file NeuronLayers.h.
|
inline |
Definition at line 131 of file NeuronLayers.h.
|
inline |
Definition at line 134 of file NeuronLayers.h.
|
inline |
Definition at line 137 of file NeuronLayers.h.