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 vertices and edges of the simulation. | |
virtual void | copyGPUtoCPU () override |
Copy GPU edge data to CPU. | |
virtual void | copyCPUtoGPU () override |
Copy CPU edge 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 29 of file CPUModel.h.
|
overridevirtual |
Advances network state one simulation step.
Advance everything in the model one time step.
Implements Model.
Definition at line 21 of file CPUModel.cpp.
|
overridevirtual |
Copy CPU edge data to GPU.
Copy CPU edge data to GPU. (Inheritance, no implem, GPUModel has implem)
Implements Model.
Definition at line 53 of file CPUModel.cpp.
|
overridevirtual |
Copy GPU edge data to CPU.
Copy GPU edge data to CPU. (Inheritance, no implem)
Implements Model.
Definition at line 46 of file CPUModel.cpp.
|
overridevirtual |
Performs any finalization tasks on network following a simulation.
Implements Model.
Definition at line 15 of file CPUModel.cpp.
|
overridevirtual |
Update the connection of all the vertices and edges of the simulation.
Modifies connections between vertices based on current state of the network and behavior over the past epoch. Should be called once every epoch.
Implements Model.
Definition at line 35 of file CPUModel.cpp.