TaoLv commented on a change in pull request #15590: Update CODEOWNER
URL: https://github.com/apache/incubator-mxnet/pull/15590#discussion_r305200141
##########
File path: docs/tutorials/amp/amp_tutorial.md
##########
@@ -262,19 +262,20 @@ Below, we demonstrate for a gluon model and a symbolic
model:
```python
with mx.Context(mx.gpu(0)):
# Below is an example of converting a gluon hybrid block to a mixed
precision block
- model = get_model("resnet50_v1")
- model.collect_params().initialize(ctx=mx.current_context())
- model.hybridize()
- model(mx.nd.zeros((1, 3, 224, 224)))
- converted_model = amp.convert_hybrid_block(model)
+ with warnings.catch_warnings(record=True) as w:
Review comment:
Are these changes intended in this PR?
----------------------------------------------------------------
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