Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Revert "mx.nd.copyto doesnt exist & website title shows ndarray inste…
Browse files Browse the repository at this point in the history
…ad of symbol"

This reverts commit 118b090.
  • Loading branch information
ChaiBapchya committed May 14, 2020
1 parent 118b090 commit 17d2189
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/static_site/src/pages/api/r/docs/tutorials/ndarray.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ If two `NDArray`s are located on different devices, we need to explicitly move t
```r
a <- mx.nd.ones(c(2, 3)) * 2
b <- mx.nd.ones(c(2, 3), mx.gpu()) / 8
c <- a.copyto(mx.gpu()) * b
c <- mx.nd.copyto(a, mx.gpu()) * b
as.array(c)
```

Expand Down Expand Up @@ -202,7 +202,7 @@ following example, `a <- a + 1` and `c <- c * 3` can be executed in parallel, bu
```r
a <- mx.nd.ones(c(2,3))
b <- a
c <- a.copyto(mx.cpu())
c <- mx.nd.copyto(a, mx.cpu())
a <- a + 1
b <- b * 3
c <- c * 3
Expand Down
2 changes: 1 addition & 1 deletion docs/static_site/src/pages/api/r/docs/tutorials/symbol.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: page_api
title: Symbol
title: NDArray
is_tutorial: true
tag: r
permalink: /api/r/docs/tutorials/symbol
Expand Down

0 comments on commit 17d2189

Please sign in to comment.