Commit Graph
21 Commits
Author SHA1 Message Date
Mu Li 251ae71a20 Add license header (#7379)
* add

* add .py and ci

* fix pylint

* update
2017-08-08 16:36:23 -07:00
Jameson d6d61915aa allow extra params in module set params (#6753)
* allow extra params in Module Loading

* fix lint + one missing init_param

* allow_extra_params -> allow_extra

* added tests
2017-06-22 17:32:09 -07:00
Roshani Nagmote ee918e088e module api formatting fixes (#6406)
* module api formatting fixes

* space added before

* minor fix
2017-05-23 13:38:00 -07:00
Zack Chase Lipton b3b21e4e20 Python API revisions (#5687)
* python -> Python (fixed capitalization typo)

* flavours -> flavors for internal consistency with American spellings. Changed 'good flabors' to specify imperative and symbolic programming, better not to tease the reader

* Improved writing of 'History' section

* Improved writing of 'History' section

* fixed symbol.md doc which previously used deprecated / incorrect mxnet.sym.var instead of the real/working mxnet.sym.Variable

* fixed typos and readability in parts of the README.md

* removed awkward phrasing about 'flavours'

* typo cleanup

* Update NEWS.md

Fixed typos

* adding eval function for combining  with , makes for quicker introspection in interactive interpreters

* fixed docstrig

* fixed docstring, cleaned up whitespace

* clean up

* Changed code to work with **kwargs, doesn't require dictionary explicitly. This also removes need for clumsy code to handle the case where there are no arguments

* fixed too-long lines in the docstring

* Update symbol.py

* heavily revised docs in symbol.py

* lightly revised content in ndarray.py

* Update symbol.py

* heavier pass for language on ndarray.py

* fixed docstring line lengths per lint

* fixed string continuation error

* Improved docs for (alphabetically) model.py through visualization.py

* fixing line-too-long pylint bugs

* fixes pylint line length error

* improved documentation further by making cosmetic edits to all other files in the Python API

* edited module .py documents, also modified all .py docs to comply with numpy doc standard and to use double backticks around True, False, and None values

* adding a few files that escaped last commit

* Update name.py

fixed speciry -> specify

* changing binded to bound everywhere, warning for using old attribute name

* debugging indentation error in base_module and Non-ASCII character in rtc.py

* fixed pylint line-too-long errors

* fixing docstring line in bucketing module

* fixing docstring line in bucketing module

* changed 'bound' back to 'binded' in code so that doc changes could be merged in without breaking code
2017-04-10 14:26:59 -07:00
Mu Li d9d798b0f5 [CI] add script to build and run docker (#5325)
* add ci_build.sh

* test ci

* test ci

* fix lint
2017-03-09 23:25:01 -08:00
Mu Li 55bb4cd2e0 [doc] refactored api/python/module.py (#5265)
* update navbar, toc, and python api index

* update module
2017-03-06 11:36:12 -08:00
Zhenwen Dai 23f7e39158 bug fix for python 3 support in python/mxnet/module/sequential_module.py (#4903) 2017-02-06 11:29:43 -08:00
Yao Wang 2d21179852 Usage example for module (#4428)
* Usage example for base_module

* Usage example for sequential module

* Small change

* Fix example code block format

* Fix lint
2017-01-08 13:52:37 -08:00
Eric Junyuan Xie 37abdac862 Upmaster (#3597)
* grad weight for softmax

* grad_req for module

* dtype support for variable

* fix lint
2016-10-23 18:44:53 -07:00
Chiyuan Zhang fbef78d5fd fix #3542: move layout_mapper argument out of existing API (#3565) 2016-10-19 00:14:20 -04:00
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
Junyuan Xie d5abf21f58 monitor for all modules 2016-07-03 18:29:27 -07:00
Chiyuan Zhang 83e0944ed2 fix lint error for dangerous default value (+3 squashed commits)
Squashed commits:
[960414a] simplify the user interface for defining python loss module
[dbb797e] test python loss on gpu
[f5d94a8] fix lint errors (+1 squashed commit)
Squashed commits:
[5d7c7ea] add an example to define loss function in Python
2016-04-16 00:13:30 -04:00
Chiyuan Zhang fee5b3cae8 fix lint error 2016-04-14 22:10:37 -04:00
Chiyuan Zhang 20e4f66bf3 fix lint error 2016-04-14 18:32:04 -04:00
Chiyuan Zhang ac6651ddb6 fix lint errors 2016-04-13 16:28:33 -04:00
Chiyuan Zhang e52544bf47 auto rewiring 2016-04-13 14:37:07 -04: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 acdec849ad add sanity check for meta keys 2016-04-13 13:29:53 -04:00
Chiyuan Zhang 3dffb4ad66 sequential module container 2016-04-13 12:54:38 -04:00