singa-dev mailing list archives

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

XJDKC commented on pull request #697:

   Sorry, the example above is just to show how to create a layer so I don't consider using
the latest APIs. And there are no direct params in Model. If we let users override set_params/get_params´╝îthe
code for every layer is quite similar.
       def get_params(self):
             self.param_names = ['W', 'b']
             super(LayerName, self).get_params()
       def set_params(self, **params):
             self.param_names = ['W', 'b']
             super(LayerName, self).set_params()

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