diff options
author | Leonid Vlasenkov <leo.vlasenkov@gmail.com> | 2017-07-10 17:24:54 +0300 |
---|---|---|
committer | Soumith Chintala <soumith@gmail.com> | 2017-07-10 10:24:54 -0400 |
commit | 46a868dab72a4fce5a12b462389ee7a7865f3210 (patch) | |
tree | d25b77320dc2b86712dab8fac885992270e17dfa /torch/_utils.py | |
parent | 0025e1c776938cc824974a374ba3156c98941510 (diff) | |
download | pytorch-46a868dab72a4fce5a12b462389ee7a7865f3210.tar.gz pytorch-46a868dab72a4fce5a12b462389ee7a7865f3210.tar.bz2 pytorch-46a868dab72a4fce5a12b462389ee7a7865f3210.zip |
[Ready] Limit docs line length (#1900)
* some docs are ready
* docs
* docs
* fix some more
* fix some more
Diffstat (limited to 'torch/_utils.py')
-rw-r--r-- | torch/_utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/torch/_utils.py b/torch/_utils.py index 2d2498842b..934ce82bb8 100644 --- a/torch/_utils.py +++ b/torch/_utils.py @@ -3,7 +3,8 @@ import importlib def _type(self, new_type=None, async=False): - """Returns the type if `new_type` is not provided, else casts this object to the specified type. + """Returns the type if `new_type` is not provided, else casts this object to + the specified type. If this is already of the correct type, no copy is performed and the original object is returned. |