singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [singa] chrishkchris edited a comment on issue #674: Autograd Layer constructor
Date Sun, 12 Apr 2020 06:43:29 GMT
chrishkchris edited a comment on issue #674: Autograd Layer constructor
URL: https://github.com/apache/singa/issues/674#issuecomment-612571682
 
 
   > @chrishkchris. Thanks for the correction, It is my fault. But for the initialization
of the handle, it won't submit operations to Device. So they are not included in the graph
either.
   
   yes, constructor of handle don't contain any operations to submit to Device, no matter
in conv2d or in rnn. 
   
   In Shicong code the only thing to modify is to turn off buffering by wrapping the line
in the link below https://github.com/apache/singa/blob/19f2020fda36032fdc26dc5910dacbfcff638e7f/python/singa/autograd.py#L3406
   
   While in long term (says V3.1), it is possible all the initizaltion will be moved to init
function of Layer, not in the call function

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