Commit Graph
59 Commits
Author SHA1 Message Date
Minjie Wang 9a42e15ef1 add ufunc_helper that helps all broadcasting issues; fix div operator in python3 2016-06-12 23:48:08 -04:00
Minjie Wang d7fdf4022f 1. temporarily fix gcc 6.1 and cuda problem; 2. add power to ndarray 2016-06-12 23:48:08 -04:00
Junyuan Xie ae074528cd fix 2016-06-03 19:21:48 -07:00
Junyuan Xie 511930d699 custom op memleak fix and ndarray at indexing 2016-06-03 12:07:27 -07:00
Xingjian Shi 78e6641608 Add axis support for broadcasting and sum. Also add max_axis and min_axis (#2292)
Update submodule mshadow

Fix test script

Fix c_api, Use ``.encode` to get byte string

Revise the for loop in the python side of `broadcast_to`

Remove `sum_mid_internal` in R package
2016-06-02 06:58:27 -07:00
Junyuan Xie 5eadb90cfc custom op fix 2016-05-18 13:23:29 -07:00
Chiyuan Zhang 27cf268542 try to avoid unnecessary copying when possible 2016-04-14 19:44:03 -04:00
pluskid 4f9e83dff9 concatenate of ndarray in 1st dimension 2016-04-14 19:24:21 -04:00
Chiyuan Zhang 147a0cfc72 add equality comparison for contexts 2016-04-14 18:46:21 -04:00
Minjie Wang d4d14d6e89 fix lint 2016-04-01 20:59:52 -04:00
Minjie Wang f6d425a378 change sum_internal back to sum; add workaround for name duplication 2016-04-01 20:01:57 -04:00
Minjie Wang a249cfa934 fix lint, and update submodules 2016-04-01 17:59:08 -04:00
Minjie Wang 5abcb78d64 1. allow left arith with numpy numerical value
2. fix broadcasting semantics
2016-04-01 14:07:03 -04:00
Yutian Li bd075542df [master] Compatible with Python 3. 2016-04-01 14:06:48 -04:00
Minjie Wang 5566db57f4 rewrite broadcast into ndarray function 2016-04-01 14:06:41 -04:00
Minjie Wang ff6970db36 broadcast for arithmetic operations 2016-04-01 14:06:30 -04:00
Yutian Li 1ae4a87c98 [broadcast] Fix bug and broadcast. 2016-04-01 14:06:14 -04:00
Yutian Li efd8d581f2 [sum-partial] Do sum. 2016-04-01 14:04:54 -04:00
Minjie Wang 6f808c878a fix subtract 2016-04-01 14:01:39 -04:00
Minjie Wang ae1b621a6f add transpose operator 2016-04-01 14:01:03 -04:00
Minjie Wang 26d30e884b add full operation 2016-04-01 13:59:18 -04:00
Minjie Wang 7fe4b32c14 add elewise add/sub/mul/div function for ndarray 2016-04-01 13:58:10 -04:00
Junyuan Xie 2716364e23 ndarray image decoding 2016-02-02 23:55:05 -08:00
Chuntao Hong f7b9d3d84d fix lint 2016-02-02 10:59:56 +08:00
Chuntao Hong 184e4464fc fix api problem for R and python 2016-02-01 18:18:57 +08:00
Yizhi Liu a18fdfb0ee fix some typos, comment mismatch, and small code optimization 2016-01-25 10:55:04 +08:00
Junyuan Xie 903c6efa2a more torch ops 2016-01-10 22:39:49 -08:00
Junyuan Xie c39f852200 torch ndarray function backend 2016-01-10 22:39:49 -08:00
Junyuan Xie 592b78e531 ndarray type support. 2016-01-07 23:08:12 -08:00
Yizhi Liu 0c99995ef5 remove duplicate var definition 2015-12-11 10:50:30 +08:00
Junyuan Xie d6ab7f4940 monitor 2015-11-25 21:21:04 -08:00
Bing Xu 513da47d23 Add waitall 2015-11-11 17:10:19 -07:00
tqchen 549bd7830a [OP] Add norm 2015-10-26 20:13:03 -07:00
tqchen 280a423f8f [NDArray] Add onehot_encode 2015-10-20 21:25:18 -07:00
Chiyuan Zhang d790b64062 check writable bit in NDArray 2015-10-13 20:07:06 -04:00
Chiyuan Zhang 113435e5aa __neg__ should return new array instead of changing self 2015-10-06 00:29:10 -04:00
Bing Xu 97bfb3f440 [NDArray] clip 2015-10-04 19:18:45 -06:00
Chiyuan Zhang 38c50552d7 typo for a tuple 2015-10-02 14:38:45 -04:00
Chiyuan Zhang 222c393837 fix typo causing unary ndarray function being defined with fallback generic function 2015-10-02 14:03:23 -04:00
tqchen dc505866b0 Minor updates on doc 2015-09-27 12:28:40 -07:00
tqchen c22c8fe6b2 [PY] Add more executor functions to make it easy, improves the docs 2015-09-27 11:26:17 -07:00
tqchen 48f2617f0f [CTYPES] Fix python interface to be more consistent with C API 2015-09-26 17:43:50 -07:00
Bing Xu 011bde4d52 [python] minor 2015-09-26 11:58:59 -06:00
Bing Xu 594773f817 [NDArray] add clip op 2015-09-23 23:35:17 -06:00
tqchen 758e281edc add slice to ndarray 2015-09-20 22:13:17 -07:00
tqchen fd201b3e95 Update model to add save/load and period checkpoint.
Removed wait for All at threaded Engine.
Still do not know the cause of WaitforVar stalling.
2015-09-20 13:19:14 -07:00
tqchen 9873400164 refactor model, only checks test_mlp for now, hand over to bing. 2015-09-19 23:21:49 -07:00
tqchen 912694b38c change def of context, change pinned to special device 2015-09-19 14:59:05 -07:00
sneakerkg 608a7a0a9f some style problem 2015-09-18 12:16:00 +08:00
sneakerkg 9c444a54b6 Merge remote-tracking branch 'upstream/master' 2015-09-18 10:34:29 +08:00