Graphitti
A toolkit/software architecture to ease creating high-performance neural network simulators
|
Public Member Functions | |
CPUModel ()=default | |
Constructor. | |
virtual | ~CPUModel ()=default |
Destructor. | |
virtual void | finish () override |
Performs any finalization tasks on network following a simulation. | |
virtual void | advance () override |
Advances network state one simulation step. | |
virtual void | updateConnections () override |
Update the connection of all the Neurons and Synapses of the simulation. | |
virtual void | copyGPUtoCPU () override |
Copy GPU Synapse data to CPU. | |
virtual void | copyCPUtoGPU () override |
Copy CPU Synapse data to GPU. | |
![]() | |
Model () | |
Constructor. | |
virtual | ~Model ()=default |
Destructor. | |
Connections & | getConnections () const |
Returns reference to Connections. | |
Layout & | getLayout () const |
Returns reference to Layout. | |
Recorder & | getRecorder () const |
Returns reference to Recorder. | |
virtual void | saveResults () |
Save simulation results to an output destination. | |
virtual void | setupSim () |
Sets up the Simulation. | |
virtual void | updateHistory () |
Update the simulation history of every epoch. | |
template<class Archive > | |
void | serialize (Archive &archive, std::uint32_t const version) |
Cereal serialization method. | |
Additional Inherited Members | |
![]() | |
void | createAllVertices () |
Creates all the vertices and generates data for them. | |
![]() | |
unique_ptr< Connections > | connections_ |
unique_ptr< Layout > | layout_ |
unique_ptr< Recorder > | recorder_ |
log4cplus::Logger | fileLogger_ |
Definition at line 43 of file CPUModel.h.
|
overridevirtual |
Advances network state one simulation step.
Advance everything in the model one time step.
Implements Model.
Definition at line 22 of file CPUModel.cpp.
|
overridevirtual |
Copy CPU Synapse data to GPU.
Copy CPU Synapse data to GPU. (Inheritance, no implem, GPUModel has implem)
Implements Model.
Definition at line 50 of file CPUModel.cpp.
|
overridevirtual |
Copy GPU Synapse data to CPU.
Copy GPU Synapse data to CPU. (Inheritance, no implem)
Implements Model.
Definition at line 43 of file CPUModel.cpp.
|
overridevirtual |
Performs any finalization tasks on network following a simulation.
Implements Model.
Definition at line 16 of file CPUModel.cpp.
|
overridevirtual |
Update the connection of all the Neurons and Synapses of the simulation.
Modifies connections between neurons based on current state of the network and behavior over the past epoch. Should be called once every epoch.
Implements Model.
Definition at line 32 of file CPUModel.cpp.