- 06 5月, 2020 1 次提交
-
-
由 liym27 提交于
* Replace dygraph_to_static_func with @declarative or program_translator.get_func in test_list.py * Add comments in ConditionalBlock. * Support list pop last item. * Support pop the i-th item. * Support an empty tensor array as Input in assign op and set the kernel type is float.
-
- 27 4月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
* add print transformer & unify print format, test=develop * remove using of dygraph_to_static_func, test=develop * remove python stdout capture, test=develop * fix compatibility problems for PY2, test=develop * fix detail error, test=develop * fix type analysis bug, test=develop * fix print tuple compatible error in PY2, test=develop * replace get_func to declarative, test=develop * fix detail bug, test=develop * fix some detail problems, test=develop * change visit_call in print transformer, test=develop
-
- 21 4月, 2020 1 次提交
-
-
由 myq406450149 提交于
* lod_rank_table error message enhance. test=develop
-
- 20 4月, 2020 1 次提交
-
-
由 gfwm0502 提交于
test=develop test=document_fix
-
- 18 4月, 2020 1 次提交
-
-
由 kinghuin 提交于
fix compare and logical ops cond/out parameter doc bug,correct the dtype message
-
- 17 4月, 2020 2 次提交
- 15 4月, 2020 1 次提交
-
-
由 gfwm0502 提交于
As the title.
-
- 14 4月, 2020 1 次提交
-
-
由 kinghuin 提交于
* optimize compare and logical ops error info * add out and cond dtype test
-
- 13 4月, 2020 1 次提交
-
-
由 myq406450149 提交于
* lod_tensor_to_array error message enhance. test=develop
-
- 12 4月, 2020 2 次提交
-
-
由 mamingjie-China 提交于
API(has_inf, has_nan, cumsum, fsp_matrix, increment) error message enhancement, test=develop (#23769) * API(argsort, argmax, argmin, cast, diag) add error message,and the same time add the test cases for those apis.
-
由 Huihuang Zheng 提交于
This PR enhances error messages of several API/OPs: ParallelExecutor (python && C++) Executor (python && C++) StaticRNN (python) IfElse (python) cond (python) split_lod_tensor (python && C++)
-
- 11 4月, 2020 1 次提交
-
-
由 liym27 提交于
-
- 10 4月, 2020 2 次提交
-
-
由 GaoWei8 提交于
-
由 wangchaochaohu 提交于
-
- 09 4月, 2020 3 次提交
-
-
由 Huihuang Zheng 提交于
API/OP (ConditionalBlock) error message enhancement (#23480)
-
由 wangchaochaohu 提交于
-
由 liym27 提交于
-
- 08 4月, 2020 1 次提交
-
-
由 liym27 提交于
* API (Switch) error message enhancement. * fix bug: dtype of out in api isfinite is set incorrectly. The dtype should be bool.
-
- 03 4月, 2020 2 次提交
- 02 4月, 2020 1 次提交
-
-
由 songyouwei 提交于
* support tensor array create read write in dygraph test=develop * minor fix test=develop * support tensor_array_to_tensor test=develop * add while loop case and err msg test=develop * refine ut test=develop
-
- 25 3月, 2020 1 次提交
-
-
由 Aurelius84 提交于
* Polish error Info in while_loop test=develop
-
- 19 3月, 2020 1 次提交
-
-
由 Aurelius84 提交于
* support to modify dict and list in while_loop test=develop * polish code test=develop
-
- 18 3月, 2020 1 次提交
-
-
由 liym27 提交于
-
- 26 2月, 2020 1 次提交
-
-
由 songyouwei 提交于
* dygraph support cond op test=develop * unittest coverage test=develop * fix coverage test=develop * fix for coverage test=develop * refine TypeError msg test=develop * remove restrict test=develop
-
- 25 2月, 2020 2 次提交
-
-
由 songyouwei 提交于
* dygraph support while_loop op test=develop * refine assign test=develop
-
由 Huihuang Zheng 提交于
As the title
-
- 23 2月, 2020 1 次提交
-
-
由 tianshuo78520a 提交于
-
- 17 2月, 2020 1 次提交
-
-
由 guofei 提交于
Modify english document and unittest of while_loop
-
- 14 2月, 2020 1 次提交
-
-
由 guofei 提交于
As the title.
-
- 11 2月, 2020 1 次提交
-
-
由 guofei 提交于
This PR makes assign op support LoDTensorArray and enable the loop_vars in while_loop to support tuple or list.
-
- 06 2月, 2020 1 次提交
-
-
由 Tao Luo 提交于
-
- 08 1月, 2020 1 次提交
-
-
由 Zhang Ting 提交于
-
- 07 1月, 2020 1 次提交
-
-
由 liym27 提交于
-
- 04 1月, 2020 1 次提交
-
-
由 liym27 提交于
* append optimize op in the grad block of current block if current block is in control flow. test=develop * add conditional grad op when optimizer used in control flow. test=develop * add comment and modify typo. test=develop * fix append_backward to support control flow. test=develop * add test. test=develop * fix copy_var_to_parent_block and conditional_block_grad. test=develop * fix bug: revert to append conditional_block_grad vars to sub grad block. test=develop * fix bug: revert to assign var to parent block even if var already is in parent block * fix bug: consider outputs is empty. test=develop * move _rename_grad_ out. test=develop * modify code according to reviews from Huihuang. test=develop * modify code according to reviews from Jinle. test=develop
-
- 24 12月, 2019 1 次提交
-
-
由 guofei 提交于
-
- 09 12月, 2019 2 次提交
-
-
由 Huihuang Zheng 提交于
As the title
-
由 guofei 提交于
Add basic while_loop
-
- 06 12月, 2019 1 次提交
-
-
由 Huihuang Zheng 提交于
Add tests to use dy/dx to make sure the gradient values calculated by the control flow backward is correct. Also fixed bugs detected by those tests. Fix bugs: 1. Unlike sum_op, optimizer ops don't allow uninitialized input tensor. But in conditional_block_grad_op, since the conditional_block may not run, the output gradient tensor may be uninitialized, which will cause the optimizer op error. To fix it, we should let optimizer ops support uninitialized input like sum_op or assign the uninitialized gradient to 0 when the conditional_block_grad_op doesn't run. I found there are about 10+ optimizer ops. **To be simpler, I just assign output gradient of the conditional_block_grad_op to 0 in this PR**. But it can be further explored whether we can make optimizer ops like sum_op to support uninitialized input tensor because theoretically we can speed up without the assigning in conditional_block_grad_op. 2. Infer parameter shapes during append_backward. I didn't know that all our parameters are in global block. When op_desc is inferring shapes at the sub-block, it may not know the shape of gradients of parameters whose shape information is at global block. I fixed it by inferring shapes of gradients from forward var. This PR also did some code clean up: 1. Print the var name when sgd_op catches shape error so that it is easier to debug 2. Fix a typo: dicta -> dict
-