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

[R] Fix incorrect website title for Symbol API in R #18326

Merged
merged 2 commits into from
May 21, 2020

Conversation

ChaiBapchya
Copy link
Contributor

@ChaiBapchya ChaiBapchya commented May 14, 2020

Description

1. mx.nd.copyto doesnt exist
mx.nd.copyto exists for R API [but not for Python API]
2. website title shows ndarray instead of symbol

Checklist

Essentials

Please feel free to remove inapplicable items for your PR.

  • Changes are complete (i.e. I finished coding on this PR)
  • All changes have test coverage:
  • Code is well-documented:
  • To the best of my knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

@mxnet-bot
Copy link

Hey @ChaiBapchya , Thanks for submitting the PR
All tests are already queued to run once. If tests fail, you can trigger one or more tests again with the following commands:

  • To trigger all jobs: @mxnet-bot run ci [all]
  • To trigger specific jobs: @mxnet-bot run ci [job1, job2]

CI supported jobs: [edge, unix-gpu, centos-gpu, centos-cpu, website, clang, miscellaneous, sanity, windows-gpu, unix-cpu, windows-cpu]


Note:
Only following 3 categories can trigger CI :PR Author, MXNet Committer, Jenkins Admin.
All CI tests must pass before the PR can be merged.

@ChaiBapchya
Copy link
Contributor Author

@mxnet-bot run ci [unix-cpu]

@mxnet-bot
Copy link

Jenkins CI successfully triggered : [unix-cpu]

@ChaiBapchya
Copy link
Contributor Author

@mxnet-label-bot add [pr-awaiting-review]

@lanking520 lanking520 added the pr-awaiting-review PR is waiting for code review label May 15, 2020
@ChaiBapchya
Copy link
Contributor Author

@leezu @access2rohit plz review/merge

@ChaiBapchya ChaiBapchya changed the title [R] Fix incorrect copyto usage & incorrect website title for Symbol API in R [R] Fix incorrect website title for Symbol API in R May 19, 2020
Verified by building R from source & testing it out
```
 c<-a.copyto(mx.cpu(),b)
Error in a.copyto(mx.cpu(), b) : could not find function "a.copyto"
```
On the contrary, mx.nd.copyto works in R
```
c<-mx.nd.copyto(a, mx.cpu()) * b
> as.array(c)
     [,1] [,2] [,3]
[1,] 0.25 0.25 0.25
[2,] 0.25 0.25 0.25
```
@leezu
Copy link
Contributor

leezu commented May 21, 2020

@mxnet-bot run ci [miscellaneous]

@mxnet-bot
Copy link

Jenkins CI successfully triggered : [miscellaneous]

@ChaiBapchya
Copy link
Contributor Author

@mxnet-label-bot update [pr-awaiting-merge]

@lanking520 lanking520 added pr-awaiting-merge Review and CI is complete. Ready to Merge and removed pr-awaiting-review PR is waiting for code review labels May 21, 2020
@leezu leezu merged commit b0315f8 into apache:master May 21, 2020
AntiZpvoh pushed a commit to AntiZpvoh/incubator-mxnet that referenced this pull request Jul 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr-awaiting-merge Review and CI is complete. Ready to Merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants