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/04/07 14:45:06 UTC
[GitHub] [singa] XJDKC commented on issue #659: Improve graph compatibility
XJDKC commented 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. 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