sandeep-krishnamurthy closed pull request #13631: gluon docfix
URL: https://github.com/apache/incubator-mxnet/pull/13631
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/python/mxnet/gluon/data/vision/transforms.py
b/python/mxnet/gluon/data/vision/transforms.py
index 3523be4d054..17507692533 100644
--- a/python/mxnet/gluon/data/vision/transforms.py
+++ b/python/mxnet/gluon/data/vision/transforms.py
@@ -82,10 +82,10 @@ class Cast(HybridBlock):
Inputs:
- - **data**: input tensor with arbitrary shape.
+ - **data**: input tensor with arbitrary shape and dtype.
Outputs:
- - **out**: output tensor with the same shape as `data`.
+ - **out**: output tensor with the same shape as `data` and data type
as dtype.
"""
def __init__(self, dtype='float32'):
super(Cast, self).__init__()
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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