32 #ifndef SHARK_MODELS_RBFLayer_H 33 #define SHARK_MODELS_RBFLayer_H 37 #include <boost/math/constants/constants.hpp> 58 struct InternalState:
public State{
62 void resize(std::size_t numPatterns, std::size_t numNeurons){
63 norm2.resize(numPatterns,numNeurons);
64 p.resize(numPatterns,numNeurons);
85 {
return "RBFLayer"; }
110 return boost::shared_ptr<State>(
new InternalState());