singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [singa] dcslin commented on pull request #697: New Model Layer Operator API
Date Sun, 24 May 2020 13:35:37 GMT

dcslin commented on pull request #697:

   One of the caveat worth noting for user is that args of `initialize()`, `forward()` need
to match exactly to `__call__()`
   Normally `__call__(x)` is the same as `initialize(x)`, which is ok. 
   But for `__call__(x, h0, c0)`, `initialize()` need to tweak a bit to be: `def initialize(self,
h0, c0):` though h0, c0 is not required.
   fixing some code in LSTM class and testing

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:

View raw message