#include <NeuralNetwork.H>
|  | 
| Eigen::Matrix< TYPE, Eigen::Dynamic, 1 > | output | 
|  | The output from this layer.  More... 
 | 
|  | 
|  | 
| Eigen::Matrix< TYPE, Eigen::Dynamic, Eigen::Dynamic > | weights | 
|  | The neural weights for this layer.  More... 
 | 
|  | 
| Eigen::Matrix< TYPE, Eigen::Dynamic, 1 > | bias | 
|  | The biases for this layer.  More... 
 | 
|  | 
template<typename TYPE>
class NeuralLayer< TYPE >
Implements a single neural layer 
- Template Parameters
- 
  
    | TYPE | the precision of the data to use, e.g. float, double |  
 
- Examples: 
- NeuralNetworkFnTest.C, and NeuralNetworkTest.C.
Definition at line 28 of file NeuralNetwork.H.
◆ NeuralLayer() [1/2]
Generate a neural layer of particular size 
- Parameters
- 
  
    | inputSize | The number of the inputs |  | outputSize | The number of outputs |  
 
Definition at line 40 of file NeuralNetwork.H.
 
 
◆ NeuralLayer() [2/2]
template<typename TYPE > 
template<typename Derived > 
  
  | 
        
          | NeuralLayer< TYPE >::NeuralLayer | ( | const Eigen::MatrixBase< Derived > & | weightsIn, |  
          |  |  | const Eigen::MatrixBase< Derived > & | biasIn |  
          |  | ) |  |  |  | inline | 
 
Generate a neural layer of particular size providing the weights 
- Parameters
- 
  
    | weightsIn | The weights to set |  | biasIn | The biases to set |  
 
- Template Parameters
- 
  
    | Derived | is used by Eigen's Curiously recurring template pattern (CRTP) |  
 
Definition at line 52 of file NeuralNetwork.H.
 
 
◆ ~NeuralLayer()
◆ activate()
template<typename TYPE > 
  
  | 
        
          | virtual Eigen::Matrix<TYPE, Eigen::Dynamic, 1>& NeuralLayer< TYPE >::activate | ( | const Eigen::Matrix< TYPE, Eigen::Dynamic, 1 > & | input | ) |  |  | inlinevirtual | 
 
 
◆ inputSize()
- Returns
- the number of inputs to this layer. 
Definition at line 79 of file NeuralNetwork.H.
 
 
◆ outputSize()
- Returns
- the number of outputs from this layer. 
Definition at line 84 of file NeuralNetwork.H.
 
 
◆ bias
template<typename TYPE > 
  
  | 
        
          | Eigen::Matrix<TYPE, Eigen::Dynamic, 1> NeuralLayer< TYPE >::bias |  | protected | 
 
 
◆ output
template<typename TYPE > 
      
        
          | Eigen::Matrix<TYPE, Eigen::Dynamic, 1> NeuralLayer< TYPE >::output | 
      
 
 
◆ weights
template<typename TYPE > 
  
  | 
        
          | Eigen::Matrix<TYPE, Eigen::Dynamic, Eigen::Dynamic> NeuralLayer< TYPE >::weights |  | protected | 
 
 
The documentation for this class was generated from the following file: