From 854585de5748697f06685d014b22e7ae8064f50b Mon Sep 17 00:00:00 2001 From: Mike Clark Date: Mon, 19 Mar 2018 15:42:45 +0800 Subject: [PATCH] flipping a tensor (link to workaround) --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a62cfae..9d00c98 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,7 @@ | `x[indices]` | `x[torch.LongTensor(indices)]` | | `np.take(x, indices)` | `x[torch.LongTensor(indices)]` | | `x[x != 0]` | `x[x != 0]` | +| `x[::-1]` | [workaround exists](https://github.com/pytorch/pytorch/issues/229) | ### Shape manipulation