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

Commit

Permalink
mx.nd.copyto doesnt exist & website title shows ndarray instead of sy…
Browse files Browse the repository at this point in the history
…mbol
  • Loading branch information
ChaiBapchya committed May 14, 2020
1 parent 511fff8 commit 118b090
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 <- mx.nd.copyto(a, mx.gpu()) * b
c <- a.copyto(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 <- mx.nd.copyto(a, mx.cpu())
c <- a.copyto(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: NDArray
title: Symbol
is_tutorial: true
tag: r
permalink: /api/r/docs/tutorials/symbol
Expand Down

0 comments on commit 118b090

Please sign in to comment.