|
std::string | name = "" |
|
std::string | origin = "" |
| name of the origin node/layer from which is node is derived
|
|
int | partition_id = 0 |
| partition id
|
|
void * | proto = nullptr |
| proto of the corresponding layer
|
|
std::vector< Node * > | srcnodes |
|
std::vector< Node * > | dstnodes |
|
singa::Node::Node |
( |
std::string |
name | ) |
|
|
explicit |
Node constructor.
- Parameters
-
name | name of the corresponding layer |
singa::Node::Node |
( |
const std::string & |
name, |
|
|
const std::string & |
origin, |
|
|
int |
id, |
|
|
void * |
proto |
|
) |
| |
Node constructor.
This node is a partition of some node.
- Parameters
-
name | node name |
origin | name of the original node |
id | partition id of this node |
proto | conf of the corresponding layer |
The documentation for this class was generated from the following file:
- /home/wangwei/program/asf/release-0.1/apache-singa-incubating-0.1.0-RC1/include/utils/graph.h