Neuralnet is constructed by creating a graph with each node representing one layer at first.
More...
|
const std::vector< Node * > & | nodes () const |
|
Node * | node (const std::string &name) const |
|
void | AddNode (Node *node) |
|
Node * | AddNode (const std::string &name) |
|
void | AddEdge (Node *srcnode, Node *dstnode) |
|
void | AddEdge (const std::string &src, const std::string &dst) |
|
void | RemoveEdge (Node *src, Node *dst) |
|
void | RemoveEdge (const std::string &src, const std::string &dst) |
|
std::string | ToJson () const |
| Dump the graph into json string which can be used to draw a picture by graphviz.
|
|
std::string | ToJson (const std::map< std::string, std::string > &info) const |
| ToJson() More...
|
|
void | Sort () |
| Do topology sort for all nodes of the graph.
|
|
Neuralnet is constructed by creating a graph with each node representing one layer at first.
After topology sort for graph nodes, layers are created and connected.