13 #ifndef MLPACK_METHODS_ANN_LAYER_RADIAL_BASIS_FUNCTION_HPP 14 #define MLPACK_METHODS_ANN_LAYER_RADIAL_BASIS_FUNCTION_HPP 46 typename MatType = arma::mat,
47 typename Activation = GaussianFunction
88 void Forward(
const MatType& input, MatType& output);
107 template<
typename Archive>
108 void serialize(Archive& ar,
const uint32_t );
130 #include "radial_basis_function_impl.hpp" void ComputeOutputDimensions()
Compute the output dimensions of the layer given InputDimensions().
RBFType & operator=(const RBFType &other)
Copy the given RBFType layer.
void serialize(Archive &ar, const uint32_t)
Serialize the layer.
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.
RBFType()
Create the RBFType object.
RBFType * Clone() const
Clone the LinearType object. This handles polymorphism correctly.
void Backward(const MatType &, const MatType &, MatType &)
Ordinary feed backward pass of the radial basis function.
Implementation of the Radial Basis Function layer.
A layer is an abstract class implementing common neural networks operations, such as convolution...
size_t WeightSize() const
Get the size of the weights.
void Forward(const MatType &input, MatType &output)
Ordinary feed forward pass of the radial basis function.