You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@singa.apache.org by GitBox <gi...@apache.org> on 2020/12/31 05:44:11 UTC

[GitHub] [singa] XJDKC commented on issue #807: AssertionError for the ONNX training testcases?

XJDKC commented on issue #807:
URL: https://github.com/apache/singa/issues/807#issuecomment-752852308


   > All the blocks are used to construct the computational graph. I think kEnd means the end nodes of the graph
   > like this example: https://stackoverflow.com/questions/57678534/find-end-node-in-directed-graph
   > 
   > @XJDKC The code was written by you, so you may know clearer. Did I describe it right?
   
   @chrishkchris @lijiansong It's correct. Take the computational graph below for example:
   
   ![FYP](https://user-images.githubusercontent.com/32295829/103396269-32c19d00-4b6d-11eb-850e-ba7f12acde92.png)
   
   The type of the pink block in the picture is kEnd which means this block is not used by any other operators in the graph. This kind of block is considered as the endpoint of the graph. I distinguish it from other types to better optimize the memory footprint of model training.
   


----------------------------------------------------------------
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:
users@infra.apache.org