shark::SoftmaxNeuron< VectorType > Struct Template Reference

#include <shark/Models/NeuronLayers.h>

Public Types

typedef EmptyState State
 

Public Member Functions

template<class Arg , class Device >
void evalInPlace (blas::vector_expression< Arg, Device > &arg) const
 
template<class Arg , class Device >
void evalInPlace (blas::matrix_expression< Arg, Device > &arg) const
 
template<class Arg , class Device >
void evalInPlace (blas::matrix_expression< Arg, Device > &arg, State &) const
 
template<class Output , class Derivative >
void multiplyDerivative (Output const &output, Derivative &der, State const &s) const
 

Detailed Description

template<class VectorType = RealVector>
struct shark::SoftmaxNeuron< VectorType >

Definition at line 185 of file NeuronLayers.h.

Member Typedef Documentation

◆ State

template<class VectorType = RealVector>
typedef EmptyState shark::SoftmaxNeuron< VectorType >::State

Definition at line 186 of file NeuronLayers.h.

Member Function Documentation

◆ evalInPlace() [1/3]

template<class VectorType = RealVector>
template<class Arg , class Device >
void shark::SoftmaxNeuron< VectorType >::evalInPlace ( blas::vector_expression< Arg, Device > &  arg) const
inline

Definition at line 189 of file NeuronLayers.h.

◆ evalInPlace() [2/3]

template<class VectorType = RealVector>
template<class Arg , class Device >
void shark::SoftmaxNeuron< VectorType >::evalInPlace ( blas::matrix_expression< Arg, Device > &  arg) const
inline

Definition at line 195 of file NeuronLayers.h.

◆ evalInPlace() [3/3]

template<class VectorType = RealVector>
template<class Arg , class Device >
void shark::SoftmaxNeuron< VectorType >::evalInPlace ( blas::matrix_expression< Arg, Device > &  arg,
State  
) const
inline

Definition at line 201 of file NeuronLayers.h.

References shark::TanhNeuron::evalInPlace().

◆ multiplyDerivative()

template<class VectorType = RealVector>
template<class Output , class Derivative >
void shark::SoftmaxNeuron< VectorType >::multiplyDerivative ( Output const &  output,
Derivative &  der,
State const &  s 
) const
inline

Definition at line 206 of file NeuronLayers.h.


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