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 2018/11/24 03:15:03 UTC

[GitHub] cyh-ustc opened a new issue #13389: how to carry out unit test on essential classes

cyh-ustc opened a new issue #13389: how to carry out unit test on essential classes
URL: https://github.com/apache/incubator-mxnet/issues/13389
 
 
   Note: Providing complete information in the most concise form is the best way to get help. This issue template serves as the checklist for essential information to most of the technical issues and bug reports. For non-technical issues and feature requests, feel free to present the information in what you believe is the best form.
   
   For Q & A and discussion, please start a discussion thread at https://discuss.mxnet.io 
   
   ## Description
   I've tried to make a few modification to mxnet including graph executor, op executor, ndarray etc. It seems that there isn't any c++ unittest on those essential classed. Existing c++ unittest(mxnet_unit_test) doesn't test on single class or class's member functions. While, in tensorflow, every essiensial class contains unittest, and those tests covers almost every member functions. So, how to validate those classes? ps. python unittest in mxnet seems to be more complete.  
   
   ## Environment info (Required)
   x86-64-linux-cuda
   ```
   What to do:
   1. Download the diagnosis script from https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py
   2. Run the script using `python diagnose.py` and paste its output here.
   
   ```
   
   Package used (Python/R/Scala/Julia):
   (I'm using ...)
   python
   For Scala user, please provide:
   1. Java version: (`java -version`)
   2. Maven version: (`mvn -version`)
   3. Scala runtime if applicable: (`scala -version`)
   
   For R user, please provide R `sessionInfo()`:
   
   ## Build info (Required if built from source)
   gcc  nvcc
   Compiler (gcc/clang/mingw/visual studio):
   
   MXNet commit hash:388a5f483483b1dc07b2f46f182bd00fa7505732
   (Paste the output of `git rev-parse HEAD` here.)
   
   Build config:
   (Paste the content of config.mk, or the build command.)
   cmake -DUSE_CUDNN=OFF -DUSE_CUDA=OFF -DUSE_MKLDNN=OFF -DBLAS=Open -DCMAKE_BUILD_TYPE=Release ..
   ## Error Message:
   (Paste the complete error message, including stack trace.)
   
   ## Minimum reproducible example
   (If you are using your own code, please provide a short script that reproduces the error. Otherwise, please provide link to the existing example.)
   
   ## Steps to reproduce
   (Paste the commands you ran that produced the error.)
   
   1.
   2.
   
   ## What have you tried to solve it?
   
   1.
   2.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services