mseth10 commented on a change in pull request #15969: Partitioning Gluon
HybridBlocks
URL: https://github.com/apache/incubator-mxnet/pull/15969#discussion_r375570558
##########
File path: python/mxnet/gluon/block.py
##########
@@ -656,20 +656,8 @@ def initialize(self, init=initializer.Uniform(),
ctx=None, verbose=False,
self.collect_params().initialize(init, ctx, verbose, force_reinit)
def hybridize(self, active=True, **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.
- static_alloc : bool, default False
- Statically allocate memory to improve speed. Memory usage may
increase.
- static_shape : bool, default False
- Optimize for invariant input shapes between iterations. Must also
- set static_alloc to True. Change of input shapes is still allowed
- but slower.
- """
+ """ Please refer description of HybridBlock hybridize().
+ """
Review comment:
can you get rid of trailing whitespaces
----------------------------------------------------------------
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