This commit is contained in:
Mike Clark
2017-11-18 10:10:24 +08:00
committed by GitHub
parent 80169c48ae
commit 707bdbc107
+1 -1
View File
@@ -118,7 +118,7 @@
| `x.argmin` | `mins, indices = torch.min(x, [dim])` | | `x.argmin` | `mins, indices = torch.min(x, [dim])` |
| `x.max` | `maxs, indices = torch.max(x, [dim])` | | `x.max` | `maxs, indices = torch.max(x, [dim])` |
| `x.argmax` | `maxs, indices = torch.max(x, [dim])` | | `x.argmax` | `maxs, indices = torch.max(x, [dim])` |
| `x.clip` | | | `x.clip` | `x.clamp` |
| `x.round` | `x.round` | | `x.round` | `x.round` |
| `np.floor(x)` | `x.floor()` | | `np.floor(x)` | `x.floor()` |
| `np.ceil(x)` | `x.ceil()` | | `np.ceil(x)` | `x.ceil()` |