You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2021/08/30 21:42:43 UTC

[GitHub] [incubator-mxnet] mozga-intel opened a new pull request #20560: Upgrade: dmlc::optional constructors and value() function

mozga-intel opened a new pull request #20560:
URL: https://github.com/apache/incubator-mxnet/pull/20560


   ## Description ##
   Upgrade: dmlc::optional<T> constructors
   1. constructs an object that does contain a nullopt value.
        `optional(dmlc::nullopt_t) noexcept : is_none(true) {}`
   2. constructs an optional object that contains a value, initialized as if direct-initializing:
       `template <typename U, typename... Args>`
   3. move constructor: If other contains a value, then stored value is direct-intialized with it.
        `optional(optional &&other) noexcept() { }`
   4. move constructor: constructs the stored value with value with `other`parameter.
       `optional(U &&other) noexcept {`
   
   Upgrade: dmlc::optional<T> value
   1.` T &value() &`
   2. `const T &value() const &`
   3. `T &&value() &`
   4. `const T && value() const &&`
   
   ## Checklist ##
   ### Essentials ###
   - [ ] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
   - [ ] Changes are complete (i.e. I finished coding on this PR)
   - [ ] All changes have test coverage
   - [ ] Code is well-documented
   
   ### Changes ###
   - [ ] Feature1, tests, (and when applicable, API doc)
   - [ ] Feature2, tests, (and when applicable, API doc)
   
   ## Comments ##
   - If this change is a backward incompatible change, why must this change be made.
   - Interesting edge cases to note here
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-mxnet] mxnet-bot commented on pull request #20560: Upgrade: dmlc::optional constructors and value() function

Posted by GitBox <gi...@apache.org>.
mxnet-bot commented on pull request #20560:
URL: https://github.com/apache/incubator-mxnet/pull/20560#issuecomment-908720705


   Hey @mozga-intel , 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**: [sanity, edge, clang, miscellaneous, website, windows-cpu, unix-cpu, centos-cpu, centos-gpu, unix-gpu, windows-gpu]
   *** 
   _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. 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-mxnet] mxnet-bot commented on pull request #20560: Upgrade: dmlc::optional constructors and value() function

Posted by GitBox <gi...@apache.org>.
mxnet-bot commented on pull request #20560:
URL: https://github.com/apache/incubator-mxnet/pull/20560#issuecomment-913782958


   Jenkins CI successfully triggered : [unix-cpu]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-mxnet] mozga-intel commented on pull request #20560: Upgrade: dmlc::optional constructors and value() function

Posted by GitBox <gi...@apache.org>.
mozga-intel commented on pull request #20560:
URL: https://github.com/apache/incubator-mxnet/pull/20560#issuecomment-913782930


   @mxnet-bot run ci [unix-cpu]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-mxnet] mozga-intel commented on pull request #20560: Upgrade: dmlc::optional constructors and value() function

Posted by GitBox <gi...@apache.org>.
mozga-intel commented on pull request #20560:
URL: https://github.com/apache/incubator-mxnet/pull/20560#issuecomment-912923016


    @mxnet-bot run ci [centos-gpu, windows-cpu, windows-gpu ]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-mxnet] mxnet-bot commented on pull request #20560: Upgrade: dmlc::optional constructors and value() function

Posted by GitBox <gi...@apache.org>.
mxnet-bot commented on pull request #20560:
URL: https://github.com/apache/incubator-mxnet/pull/20560#issuecomment-912923037


   Jenkins CI successfully triggered : [centos-gpu, windows-cpu, windows-gpu]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-mxnet] mxnet-bot commented on pull request #20560: Upgrade: dmlc::optional constructors and value() function

Posted by GitBox <gi...@apache.org>.
mxnet-bot commented on pull request #20560:
URL: https://github.com/apache/incubator-mxnet/pull/20560#issuecomment-908720705


   Hey @mozga-intel , 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**: [sanity, edge, clang, miscellaneous, website, windows-cpu, unix-cpu, centos-cpu, centos-gpu, unix-gpu, windows-gpu]
   *** 
   _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. 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org