singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [singa] XJDKC edited a comment on issue #659: Improve graph compatibility
Date Tue, 07 Apr 2020 14:51:09 GMT
XJDKC edited a comment on issue #659: Improve graph compatibility
URL: https://github.com/apache/singa/pull/659#issuecomment-610429313
 
 
   > why do we need to capture some tensors by value and some by reference?
   
   This is exactly what I did before, mainly to optimize memory usage. But for the evaluation
phase, tensors in the example will be recycled(It will create a new operation class by calling
\__call\__ function, so the previous operations will be recycled and so do tensors they contain).
If we access them in the next epoch, the program will crash.

----------------------------------------------------------------
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


With regards,
Apache Git Services

Mime
View raw message