13 Commits
Author SHA1 Message Date
David Braude a157d17816 [MXNET-128] added load from buffer functions (#10261)
* rebased on master

* Update ndarray.h

* clairified comment

Mainly done to get to retest
2018-04-03 12:55:35 -07:00
Eric Junyuan Xie 0ad14b6037 Random refactor (#7939)
* random refactor

* fix

* fix

* fix

* fix
2017-09-26 13:39:24 -07:00
dtmoodie ec71cff6bc ndarray.hpp needs to include op.h (#7495)
* ndarray.hpp needs to include op.h

* op.h -> operator.h
2017-08-30 10:39:24 -07:00
dtmoodie 1e48e12386 gpu access of ndarray (#7496)
* gpu access of ndarray

* gpu access from C++ api

* gpu access fix

* Update c_api.cc

* Update c_api.cc
2017-08-26 11:51:34 -07: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
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
Sheng Zha 63ac793268 mod (#6698)
* mod

* fix include

* fix cpplint

* fix R

* fix cpp header

* return NAN instead of 0 and remove warning for mod

* fix cpp header

* fix build for half

* fix half

* fix half

* 0 grad for mod for now

* add override for half2

* fix half2_t

* updated backward

* fix registration

* mod, working backward compatible with numpy

* update mshadow

* fix lint

* fix half2 neg

* fix scala
2017-06-19 23:59: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
Patrick Hebron 5a14458528 Adds GetDType() signature to ndarray.h and fixes typo in implementation. (#5680) 2017-04-04 10:51:57 -07:00
Valentin Churavy 62d8a5bb84 fix NDArrayGetData to return to use the right datatype (#5629)
* fix NDArrayGetData to return to use the right datatype

* try to address C++ and Perl
2017-03-31 15:13:44 -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