mseth10 commented on a change in pull request #15969: Partitioning Gluon 
HybridBlocks
URL: https://github.com/apache/incubator-mxnet/pull/15969#discussion_r375551018
 
 

 ##########
 File path: python/mxnet/gluon/block.py
 ##########
 @@ -1053,11 +1041,31 @@ def register_child(self, block, name=None):
         self._clear_cached_op()
 
     def hybridize(self, active=True, backend=None, backend_args=None, 
**kwargs):
+        """Activates or deactivates :py:class:`HybridBlock` s recursively. Has 
no effect on
+        non-hybrid children.
+
+        Parameters
+        ----------
+        active : bool, default True
+            Whether to turn hybrid on or off.
+        backend : str
+            The name of backend, as registered in `SubgraphBackendRegistry`, 
default None
+        backend_args : dict of optional arguments, optional
 
 Review comment:
   nit: optional twice

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to