Commit Graph
20 Commits
Author SHA1 Message Date
Chiyuan Zhang 23bf60cab8 Time major data layout support for RNN (#3497)
* rnn-cell demo (push to server for testing)

* a running example with cuDNN RNN cell

* ndarray concatenate

* fix lint errors

* allow batch_axis in executor_group

* add batch_axis parameter for all modules

* fix bug in copy slice implementation

* fix module examples

* use batch_axis if data iterator provided such information

* rnn cell example in time major

* fix init state names in rnn cell bucketing example

* sanity check stochastic depth mnist

* a cifar10 example (not tested)

* add description for sd cifar

* add doc for sd module

* add a simple random number queue

* add final numbers

* fix typo

* default layout mapper

* fix other modules for layout mapper

* fix typo

* softmax output mode that preserves the shape

* comments on run-time speed of time-major

* extend layout mapper to include other information

* fix data layout API change

* fix lint errors

* fix Travis CI numpy error on unit test
2016-10-13 22:54:01 -04:00
Jian Guo fc0bb3920e extend Module to fix_param_names that saves gradient computation and update faster rcnn example (#2794)
* extend Module to fix_param_names that saves gradient computation and update faster rcnn example

* update faster rcnn example to full module api usage

* fix lint

* fix faster rcnn training script

* faster rcnn example remove imcompatible old solver
2016-07-25 20:04:05 -07:00
Eric Junyuan Xie f3cc5b179c Update module.py (#2721) 2016-07-15 14:28:05 -07:00
Junyuan Xie b40ec35779 module monitor 2016-07-03 17:34:10 -07:00
Tianqi Chen 474f74b4b4 [EXEC] More generic segment training api (#2551) 2016-06-28 15:10:32 -07:00
Bing Xu 04754548f3 allow partial set paramter in module (#2482)
allow partial set parameter in module
2016-06-20 14:31:22 -07:00
answeror a77d47d5ec Correct init idx2name on mult-CPU/GPU training
In Module.init_optimizer, idx2name has duplicated items when multiple
contexts are provided.
But _update_params_on_kvstore will be used in this case, and the
duplication of items will cause wrong indexing in Optimizer._get_lr and
Optimizer._get_wd.
2016-06-04 23:58:52 +08:00
Chiyuan Zhang 9e242bc900 a separate config_util module 2016-05-05 16:54:49 -04:00
yzhang87 e2a475f584 Bug fix for BPTT. Remove the rescale_grad in Module (too confusing). 2016-05-05 16:28:24 -04:00
Chiyuan Zhang fada86e7b5 add a guard to avoid copying to itself in setting parameters 2016-05-02 09:49:02 -04:00
rldotai 795d4797a1 Replaced iteritems() with items() for Python 2/3 compatibility 2016-04-27 22:46:21 -06:00
Junyuan Xie e1d30cdf18 optimizer refactor 2016-04-19 00:42:47 -07:00
Chiyuan Zhang 75fafde1c7 auto-wiring of modules 2016-04-13 14:13:23 -04:00
Chiyuan Zhang 7279622bb6 temp commit before I delete some code... 2016-04-13 14:06:41 -04:00
Chiyuan Zhang 3dffb4ad66 sequential module container 2016-04-13 12:54:38 -04:00
pluskid c7f7cb21c5 also change module system to bucketing memory sharing 2016-04-12 15:27:41 -04:00
Chiyuan Zhang 5f864e0339 fix a lint requirement of docstring of an internal function 2016-04-11 23:54:39 -04:00
pluskid 4e774d82ee fix cifar and lstm examples with module 2016-04-11 23:43:49 -04:00
Chiyuan Zhang 92ea2ce8de fix lint errors for BucketingModule 2016-04-11 23:01:35 -04:00
Chiyuan Zhang ecfe83f349 re-organization and fix lint errors 2016-04-11 22:40:32 -04:00