From 39038d96e85c2cc70ecd4f81d14d1ce3e7fdb962 Mon Sep 17 00:00:00 2001 From: Karel Ha Date: Mon, 8 Jan 2018 12:05:43 +0100 Subject: [PATCH] Update tensor.md - fix typo in `maskedCopy()` --- doc/tensor.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tensor.md b/doc/tensor.md index 75eaebc6..6dd037c8 100644 --- a/doc/tensor.md +++ b/doc/tensor.md @@ -1607,7 +1607,7 @@ x = torch.range(1,4):double():resize(2,2) > x 1 2 3 4 -[torch.DoubleTensor of dimension 2x4] +[torch.DoubleTensor of dimension 2x2] mask = torch.ByteTensor(1,8):bernoulli() > mask