Skip to content
Snippets Groups Projects
Commit cf24b803 authored by Martin Beseda's avatar Martin Beseda
Browse files

ENH: Added serialization method to NeuronDifferentiable class

parent 71ebae8b
No related branches found
No related tags found
No related merge requests found
#include "NeuronSerialization.h"
BOOST_CLASS_EXPORT_IMPLEMENT(lib4neuro::Neuron);
//BOOST_CLASS_EXPORT_IMPLEMENT(lib4neuro::NeuronDifferentiable);
namespace lib4neuro {
......
......@@ -72,6 +72,13 @@ namespace lib4neuro {
*/
class NeuronDifferentiable : public Neuron {
public:
/**
* Struct used to access private properties from
* the serialization function
*/
struct access;
/**
* Calculates the derivative with respect to the argument, ie the 'potential'
* @return f'(x), where 'f(x)' is the activation function and 'x' = 'potential'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment