mxnet
Public Member Functions | Public Attributes | List of all members
nnvm::NodeEntry Struct Reference

an entry that represents output data from a node More...

#include <node.h>

Collaboration diagram for nnvm::NodeEntry:
Collaboration graph

Public Member Functions

 NodeEntry (NodePtr node, uint32_t index, uint32_t version)
 
 NodeEntry (NodePtr node)
 
 NodeEntry ()
 

Public Attributes

NodePtr node
 the source node of this data More...
 
uint32_t index
 index of output from the source. More...
 
uint32_t version
 version of input Variable. This field can only be nonzero when this->node is a Variable node. version is increased by one each time a Variable get composed to a mutation Op. This information can be helpful to decide order of operations when sequence of mutation happens. More...
 

Detailed Description

an entry that represents output data from a node

Constructor & Destructor Documentation

nnvm::NodeEntry::NodeEntry ( NodePtr  node,
uint32_t  index,
uint32_t  version 
)
inline
nnvm::NodeEntry::NodeEntry ( NodePtr  node)
inlineexplicit
nnvm::NodeEntry::NodeEntry ( )
inline

MXNet assumes that a node with a null ptr doesn't have a gradient attached. Don't change this constructor.

Member Data Documentation

uint32_t nnvm::NodeEntry::index

index of output from the source.

NodePtr nnvm::NodeEntry::node

the source node of this data

uint32_t nnvm::NodeEntry::version

version of input Variable. This field can only be nonzero when this->node is a Variable node. version is increased by one each time a Variable get composed to a mutation Op. This information can be helpful to decide order of operations when sequence of mutation happens.


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