You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/02/03 17:42:50 UTC
[GitHub] [incubator-mxnet] mseth10 commented on a change in pull request
#15969: Partitioning Gluon HybridBlocks
mseth10 commented on a change in pull request #15969: Partitioning Gluon HybridBlocks
URL: https://github.com/apache/incubator-mxnet/pull/15969#discussion_r374243258
##########
File path: python/mxnet/gluon/block.py
##########
@@ -1040,7 +1061,12 @@ def register_child(self, block, name=None):
super(HybridBlock, self).register_child(block, name)
self._clear_cached_op()
- def hybridize(self, active=True, **kwargs):
+ def hybridize(self, active=True, backend=None, backend_args=None, **kwargs):
+ self._backend = backend
+ if backend_args is None:
+ self._backend_args = {}
Review comment:
do we really need this? isn't it default?
----------------------------------------------------------------
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