10 Commits
Author SHA1 Message Date
chsin 7a0509d6f5 fix optimizer bug in CPP-Package (#9809)
* opt register only once

* lint pass

* opt register only once

lint pass

* add test_optimizer.cpp

* fix warning

* typo
2018-02-27 12:05:57 -08:00
Yu-Xiang Wang 5251b86169 Signum optimizer (#9220)
* the c++ version of signum and signsgd optimizer

* optimizer signum, tested working with mac on cpuusing mnist

* unit test for signum

* fix lint and incorporate haibin's code review

* rerun jenkins

* adding link to the Loshachilov and Hutter to the documentation
2018-01-12 11:20:05 -08:00
Pedro Larroy 2d49d59cf1 Fix warnings on cpp-package (#9089)
* Fix warnings on cpp-package

* Make local symbols static in graph_executor
2018-01-10 11:34:00 -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
Eric Junyuan Xie ed190957bb Refactor Stateful operator and custom op (#6928)
* refactor create layer

* fix

* refactor custom op

* fix

* fix

* fix

* fix

* fix OpState

* remove superfluous infershape

* fix

* fix

* fix lint

* fix

* fix

* fix

* Update CMakeLists.txt

* delete

* fix

* fix scala
2017-07-12 10:04:40 -07:00
Xin Li 4544c5827f [cpp-package] Add monitor, optimizers, metrics and bug fixes (#6033)
* [cpp-package]Support MSVC and python 3

* Update docs

* [cpp-package]Add monitor

* Force UTF-8 encoding in MSVC

* [cpp-package] Automatically deploy the compiled library

* [cpp-package] Add RMSProp, Adam, AdaGrad, AdaDelta

* [cpp-package] Fix initializers

* Fix lint

* [cpp-package] Update Makefile

* [cpp-package] Fix constructor order

* Add MAE, MSE, PSNR metrics

* trigger op_map when loading symbols from file, to force ops to be initialized

* Add missing headers

* [cpp-package] Add inline to satisfy ODR

* Fix cuda compilation on windows

* [cpp-package] Update CMakeLists
2017-05-17 09:57:37 -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
mingchuan 00b2b47f70 [cpp-package] Fix multiple definition issue (#5545)
* [cpp-package] Fix multiple definition issue

When mxnet hpp headers being included in different translation units,
link error occurs because there are multiple (duplicate) definition of
functions in different translation units.

This commit inlines mxnet cpp functions to follow the one definition rule.

* [cpp-package] Define KVStore as a singleton
2017-03-28 21:34:46 -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