- 19 2月, 2021 1 次提交
-
-
由 ShenLiang 提交于
-
- 18 2月, 2021 1 次提交
-
-
由 Huihuang Zheng 提交于
Dy2stat didn't support tuple as iteration variable in the past. This PR added there main cases: 1). Non-enumerate case: for var1, var2 in var|var.numpy() will be re-written as: for FOR_ITER_TUPLE_PREFIX_x in var | var.numpy(): var1 = FOR_ITER_TUPLE_PREFIX_x[0] var2 = FOR_ITER_TUPLE_PREFIX_x[1] 2). Enumerate out tuple case: for t in enumerate(var|var.numpy) will be rewritten as: for FOR_ITER_TUPLE_INDEX_PREFIX_x, FOR_ITER_TUPLE_PREFIX_x in enumerate(var|var.numpy): t = (FOR_ITER_TUPLE_INDEX_PREFIX_x, FOR_ITER_TUPLE_PREFIX_x) 3). Enumerate inner tuple case: for i, (var1, (var2, va3)) in enumerate(var|var.numpy()) will be re-written as: for i, FOR_ITER_TUPLE_PREFIX_x in var | var.numpy(): var1 = FOR_ITER_TUPLE_PREFIX_x[0] var2 = FOR_ITER_TUPLE_PREFIX_x[1][0] var3 = FOR_ITER_TUPLE_PREFIX_x[1][1]
-
- 07 2月, 2021 1 次提交
-
-
由 wanghuancoder 提交于
* fix a bug of Sequential::__getitem__, test=develop * add testcase, test=develop
-
- 05 2月, 2021 1 次提交
-
-
由 wanghuancoder 提交于
-
- 03 2月, 2021 2 次提交
-
-
由 AshburnLee 提交于
-
由 WangXi 提交于
-
- 27 1月, 2021 1 次提交
-
-
由 liym27 提交于
-
- 26 1月, 2021 1 次提交
-
-
由 Leo Chen 提交于
* polish printing dtype * fix special case
-
- 20 1月, 2021 3 次提交
-
-
由 wanghuancoder 提交于
* delete empty line of pybing.cc, test=develop * fix layers train eval bug, test=develop
-
由 Aurelius84 提交于
* add paddle. * add unittest
-
由 Aurelius84 提交于
-
- 14 1月, 2021 1 次提交
-
-
由 Chen Weihang 提交于
-
- 13 1月, 2021 2 次提交
- 11 1月, 2021 3 次提交
-
-
由 WeiXin 提交于
* Fix bug for 'save mutiple method' * To pass coverage. * edit code to pass coverage. * edit code to pass coverage. * add unittest for coverage. * change for coverage. * edit for coverage.
-
由 Huihuang Zheng 提交于
Add clone method for static Variable so that this interface will be same as dygraph. It fixed some bugs in dy2stat
-
由 XiaoguangHu 提交于
* delete paddle.nn.functional.assign * fix dynamic to static error
-
- 08 1月, 2021 3 次提交
-
-
由 Aurelius84 提交于
* fix tensor shape bug * fix op_num * clean code
-
由 liym27 提交于
-
由 liym27 提交于
1. When x is Variable, call nn.shape(x) only in following cases: 1)The shape of x is used in control flow condition. 2)The dim to be used is negetive 2. When x is Variable, but x.shape or x.shape[idx] doesn't contain negetive value, don't convert to paddle.shape()
-
- 07 1月, 2021 1 次提交
-
-
由 wangchaochaohu 提交于
-
- 06 1月, 2021 1 次提交
-
-
由 Zhou Wei 提交于
* Polish and Optimize the print/repr message of all layer * fix some code format
-
- 31 12月, 2020 1 次提交
-
-
由 lilong12 提交于
* add distributed.split, test=develop
-
- 28 12月, 2020 1 次提交
-
-
由 wawltor 提交于
fix the state_dict bug for the xpu
-
- 22 12月, 2020 1 次提交
-
-
由 ShenLiang 提交于
* fix fleet for multi-stream * fix memcpy for ncclid * use sync to solve move operation
-
- 21 12月, 2020 1 次提交
-
-
由 liym27 提交于
[Dy2Stat] Fix bug for loop: a variable is used and created in loop, but used before created (#29769)
-
- 18 12月, 2020 2 次提交
-
-
由 Huihuang Zheng 提交于
Enable jit.save to Save Without Running.
-
由 liym27 提交于
Support to transformfor ele in var stms in which var is a slice of Tensor.
-
- 14 12月, 2020 1 次提交
-
-
由 liym27 提交于
[Dy2Stat] 1. Fix bug of for-range stmts. 2. Support that step value is negative in for-range stmts (#29519) 1. Fix error in _build_cond_stmt of for-range stmts. 2. Support that step value is negative in for-range stmts 3. Fix code because of the diff between Py2 and Py3
-
- 11 12月, 2020 2 次提交
-
-
由 Chen Weihang 提交于
-
由 Leo Chen 提交于
* add fast path for p == 0 in dropout * add ut
-
- 10 12月, 2020 1 次提交
-
-
由 huangxu96 提交于
* Add ReserveSpace in dygraph batch_norm. * Add unittest for reservespace
-
- 09 12月, 2020 3 次提交
- 07 12月, 2020 1 次提交
-
-
由 chentianyu03 提交于
* rm complexvariable * modify test_var_base unittest * remove duplicated codes
-
- 04 12月, 2020 4 次提交
-
-
由 ShenLiang 提交于
-
由 Huihuang Zheng 提交于
Reduce exception type so that if covert_to_static failed, it reports right error message.
-
由 liym27 提交于
[Dy2Stat] Fix bug: Do not use gast.Subscript to replace gast.Name in when transforming for_enumerate_loop (#29310)
-
由 Chen Weihang 提交于
* basic impl of type promote * add comment & another testcase * fix complex bugs & support python op promote type * fix failed unittests & polish code * add unittest for coverage * change to only promote complex type * polish code details * polish several comments
-