Kh4L commented on a change in pull request #19386:
URL: https://github.com/apache/incubator-mxnet/pull/19386#discussion_r523366648
##########
File path: python/mxnet/gluon/block.py
##########
@@ -1059,7 +1059,7 @@ def _call_cached_op(self, *args):
out = [out]
return _regroup(out, self._out_format)
- def optimize_for(self, x, *args, backend=None, backend_opts=None,
clear=True, **kwargs):
+ def optimize_for(self, x, *args, backend=None, clear=False,
static_alloc=False, static_shape=False, **kwargs):
Review comment:
I thought that this would clutter the args.
inline_limit=2, forward_bulk_size=None, backward_bulk_size=None being rarely
use, I think it's fine to let the user call hybridize separately if he needs
them.
----------------------------------------------------------------
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]