aidan-plenert-macdonald commented on issue #8148: How do I interpret the JSON 
compute graph?
URL: 
https://github.com/apache/incubator-mxnet/issues/8148#issuecomment-585335119
 
 
   Found the documentation here 
https://docs.tvm.ai/dev/nnvm_json_spec.html#nodes. It's not super helpful. 
   
   You can trace down the code a bit,
   
   https://github.com/dmlc/nnvm/blob/master/python/nnvm/graph.py#L26 ==>
   https://github.com/dmlc/nnvm/blob/master/python/nnvm/graph.py#L270 ==>
   ...
   
https://github.com/dmlc/nnvm/blob/ef0ab9b09dbf1318851be311d3752de6c9bd4881/src/core/graph.cc#L45
 ==>
   
https://github.com/dmlc/nnvm/blob/ef0ab9b09dbf1318851be311d3752de6c9bd4881/include/nnvm/node.h#L31
   
   ```
   struct NodeEntry {
     /*! \brief the source node of this data */
     NodePtr node;
     /*! \brief index of output from the source. */
     uint32_t index;
     /*!
      * \brief 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.
      */
     uint32_t version;
   };
   ```
   
   Not really sure what that means, but you could probably figure that out with 
some more digging
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to