summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorWanwannodao <yokokura@is.s.u-tokyo.ac.jp>2019-04-04 12:40:46 -0700
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>2019-04-04 12:46:39 -0700
commit8ca9ba17da9ebe73d39082ddd71aae436c663afd (patch)
tree22da979839644badadd277ec0c7093dc61c1ec5d /docs
parentb145dcca048a28b1184be0d90f18aa29d23f0953 (diff)
downloadpytorch-8ca9ba17da9ebe73d39082ddd71aae436c663afd.tar.gz
pytorch-8ca9ba17da9ebe73d39082ddd71aae436c663afd.tar.bz2
pytorch-8ca9ba17da9ebe73d39082ddd71aae436c663afd.zip
Fix typo
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/18802 Differential Revision: D14781874 Pulled By: ezyang fbshipit-source-id: 0f94c40bd84c84558ea3329117580f6c749c019f
Diffstat (limited to 'docs')
-rw-r--r--docs/source/jit.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/source/jit.rst b/docs/source/jit.rst
index 2d7ead8a81..53c2ff44e3 100644
--- a/docs/source/jit.rst
+++ b/docs/source/jit.rst
@@ -942,7 +942,7 @@ Tracer Warnings
Produces several warnings and a graph which simply returns the input::
- fill_row_zero.py:4: TracerWarning: There are 2 live references to the data region being modified when tracing in-place operator copy_ (possibly due to an assignment). This might cause the trace to be incorrect, because all other views that also reference this data will not not reflect this change in the trace! On the other hand, if all other views use the same memory chunk, but are disjoint (e.g. are outputs of torch.split), this might still be safe.
+ fill_row_zero.py:4: TracerWarning: There are 2 live references to the data region being modified when tracing in-place operator copy_ (possibly due to an assignment). This might cause the trace to be incorrect, because all other views that also reference this data will not reflect this change in the trace! On the other hand, if all other views use the same memory chunk, but are disjoint (e.g. are outputs of torch.split), this might still be safe.
x[0] = torch.rand(*x.shape[1:2])
fill_row_zero.py:6: TracerWarning: Output nr 1. of the traced function does not match the corresponding output of the Python function. Detailed error:
Not within tolerance rtol=1e-05 atol=1e-05 at input[0, 1] (0.09115803241729736 vs. 0.6782537698745728) and 3 other locations (33.00%)