9 Commits
Author SHA1 Message Date
Frank Liu 26f55803f0 Add error checking for cpp examples. (#13828) 2019-01-17 17:40:23 +08:00
Rajan Singh ca08c1a7dc Added nullptr check for LeakyRelu gamma parameter. (#10886)
* Added nullptr checks for LeakyRelu gamma parameter.
It is used only for act type "prelu".
This fixes github issue:
https://github.com/apache/incubator-mxnet/issues/10885

*  Added mlp_cpu, mlp, mlp_gpu tests to CI tests.

* Enabling CI tests

* Fix file name
2018-05-11 11:51:53 -07:00
Rajan Singh 80900568a8 Fix for cpp examples in mxnet/cpp-package. (#10726)
* Fix for cpp examples in mxnet/cpp-package.
- Refactored makefile
- Added macro to check for using GPU/CPU
- Changed cpp files to use correct data set
- Added error checking for data files

* cpplint fix

* cpplint fix

* Fix complitaion warnings and an error.

* - Refarctored code , added a utils file for loading data
- Enabled cpp tests to run on Jenkins.
- Cleaned up Makefile

* Removed unused header

* cpplint fixes

* cpplint

* cpplint

* Fix ci test to run examples

* Enabling tests on ci run

* Comment save param. This code will be fixed later.

* Fixed lenet.cpp
Added script to fetch lenet data

Enabled lenet test on jenkins.
Also added code to run for fewer epocs , as they take long time to train and infer.

* lint fixes

* Fix test_score.cpp
some minor fixes

* alexnet save fix.

* Replaced "using namespace std;" with explicit "std::"

* lint fix

* lint fix
2018-05-09 17:33:49 -07:00
Ade 3f37577414 * [cpp-package] fix for issue #7725 (#8551)
* remove some unused include (MxNetCpp.h already included op.h)
* use same mnist data path avoiding duplication
2017-11-06 10:13:07 -08:00
lxn2 a5373e6af0 Add more license files (#7429)
* Add more licenses

* Revert "Add more licenses"

This reverts commit 8395a84d21a0cebaf909ec277b7b5d6feffa1412.

* Add license files
2017-08-11 14:12:47 -07:00
CNevd 76dee53dc4 [cpp-package] add lr scheduler (#6885)
* add lr scheduler

* Update lr_scheduler.h

* Update mlp_gpu.cpp

* Update test_score.cpp

* update optimizer.hpp
2017-08-03 13:18:07 -07:00
Madan Jampani 5de9bdf1b3 Fixing typos (#6414) 2017-05-23 20:46:07 -07:00
Xin Li 6241ef0dd7 Add ci test for c++ package and rename enum values (#6341)
* [cpp-package] Change enum value naming (#6309)

* [cpp-package] Add test score

* Add ci test for cpp package in jenkins
2017-05-19 08:49:41 -07:00
Xin Li 517069c52c [cpp-package] Add C++ basic tutorial and build instruction (#5971)
* Add C++ basic tutorial and build instruction

* Remove binaries

* Fix lint

* Avoid sign-compare
2017-04-25 09:57:01 -07:00