Apache SINGA
A distributed deep learning platform .
 All Classes Namespaces Files Functions Variables Typedefs Macros
Public Member Functions | Public Attributes | List of all members
singa::Node Class Reference

Public Member Functions

 Node (std::string name)
 Node constructor. More...
 
 Node (const std::string &name, const std::string &origin, int id, void *proto)
 Node constructor. More...
 
void AddDstNode (Node *dstnode)
 
void AddSrcNode (Node *srcnode)
 
void RemoveDstNode (Node *dst)
 
void RemoveSrcNode (Node *src)
 

Public Attributes

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
 

Constructor & Destructor Documentation

singa::Node::Node ( std::string  name)
explicit

Node constructor.

Parameters
namename 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
namenode name
originname of the original node
idpartition id of this node
protoconf of the corresponding layer

The documentation for this class was generated from the following file: