7 Commits
Author SHA1 Message Date
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
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
Chris Olivier a5abd79c0b Caffe without the patch, cpp-package fixed also with Caffe plugin (#5573)
* PEP8 indentation fix

* Remove executable flag

* Remove executable flags

* Fixing cpp-package including problems with caffe converter

* Fix warnings

* Remove need for caffe patch for caffe plugin

* Ignore cmake paths, remove rebuildable op.h for cpp-package

* cpp-package examples fixed. Makefile and CMake of op.h and examples added.

* cpp-package examples fixed. Makefile and CMake of op.h and examples added.

* Fix source file

* Better example.mk

* Turn off caffe by default

* lint fixes

* Trying to figure out how to fix submodules

* nohub problem on travis so force retry

* Edited test to just run make instead of obsolete make example

* Fix cpp-package op.h bootstrapping with CMake

* Build tweaking cpp-package

* Lint fixes

* op.h generator

* FIx cpp-package for latest merge from master

* Fix lint

* static link

* link whole static lib

* Trigger another build attempt

* Trigger another build attempt

* Add caffe plugin support (disabled until dependencies can be added to build machine)

* Add cufft library

* win32 cufft library

* don't link unit tests as static

* Add include for rebuildable protobuf header caffe.pb.h
2017-03-30 20:13:36 -07:00
Xin Li 21b2da07f6 Integrate cpp package (#5251)
* Copy mxnet.cpp to cpp-package sub directory

* Add missing type name declaration for nnvm::Tuple<dmlc::optional<int>>

* Add trigger to update operation wrapper in cpp package when building mxnet

* Add test to travis scripts

* Disable op generation on windows
2017-03-22 11:55:51 +08:00