- 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
-
- 02 12月, 2019 2 次提交
-
-
由 liym27 提交于
-
由 Huihuang Zheng 提交于
Add English doc for cond
-
- 29 11月, 2019 1 次提交
-
-
由 Huihuang Zheng 提交于
* Commit before merging develop test=develop * Backup after working with Huihuang logs * Commit before deleting Huihuang debug loggings * Commit before debug test=develop * Fix bug commit test=develop * Backup of fixing bugs test=develop * Clean up code test=develop * Fix a bug in sum_op test=develop
-
- 25 11月, 2019 1 次提交
-
-
由 lijianshe02 提交于
-
- 21 11月, 2019 1 次提交
-
-
由 lijianshe02 提交于
* add input type and input data type check for Print_op test=develop
-
- 20 11月, 2019 1 次提交
-
-
由 liym27 提交于
* add control flow API: case. test=develop * delete 'raise TypeError' in _error_message() and return a string. test=develop * polish API document. test=develop
-
- 18 11月, 2019 1 次提交
-
-
由 liym27 提交于
* add API switch_case. test=develop add Nest * modify code according to reviews: 1.Attr(branch_index) support 'uint8' and 'int64' besides 'int32'. 2.remove useless code. test=develop * replace fluid.layers.data with fluid.data and polish API document. test=develop
-
- 11 11月, 2019 1 次提交
-
-
由 Huihuang Zheng 提交于
-
- 07 11月, 2019 1 次提交
-
-
由 Huihuang Zheng 提交于
These ops are useful in control flow.
-
- 12 10月, 2019 2 次提交
-
-
由 zhaoyuchen2018 提交于
* Refine create_array api en doc test=develop test=document_fix * Fix api doc example bug and polish square test=develop test=document_fix * Refine comment test=develop test=document_fix * refine API.spec test=develop test=document_fix
-
由 hong19860320 提交于
refine the en api doc of ones, zeros, reverse, assign, increment, hsigmoid and create_py_reader_by_data ops (#20343) * refine the en api doc of ones, zeros, reverse, increment, hsigmoid and create_py_reader_by_data ops test=develop, test=document_preview, test=document_fix * refine eng doc for hsigmoid and create_py_reader_by_data ops test=develop, test=document_preview, test=document_fix * update API.spec test=document_fix * Fix the parameter name axis of reverse op in eng doc test=develop, test=document_fix * Update API.spec test=develop, test=document_fix * Refine eng doc of zeros, ones, reverse and assign op test=develop, test=document_fix * Update API.spec for assign, ones, zeros and reverse test=develop, test=document_fix * Fix data type of reverse op in eng doc test=develop, test=document_fix * Update API.spec for reverse op test=develop, test=document_fix
-
- 11 10月, 2019 6 次提交
-
-
由 lijianshe02 提交于
* fix Print, is_empty, read_file test=document_fix
-
由 Yiqun Liu 提交于
* Refine the main comment of DynamicRNN. * Refine the documentation of DynamicRNN's step_input function. * Refine the documentation of DynamicRNN's static_input function. * Refine the documentation of DynamicRNN's block function. * Refine the documentation of DynamicRNN's memory function. * Refine the documentation of DynamicRNN's update_memory and output function. * Refine the code format and remove the method list. * Refine the documentation of DynamicRNN's __call__ function. test=develop test=document_fix * Minor modification. test=develop test=document_fix * Fix some typo. * Update API.spec. test=develop test=document_fix * Refine the English according to the comments. * Update API.spec. test=develop test=document_fix * Fix some typo. * Update API.spec.
-
由 Wilber 提交于
* modify english api test=develop test=document_fix - leaky_relu - less_than - log - logical_and - logical_or - logical_xor - logical_not
-
由 wangchaochaohu 提交于
* fix some en doc test=develop test=document_fix * fix new fluid.data API.spec test=develop test=document_fix * fix typo test=develop, test=document_fix * fix typo test=develop test=document_fix * fix typo test=develop test=document_fix * fix test=develop test=document_fix * fix according review test=develop test=document_fix * fix review test=develop test=document_fix * fix according review advice test=develop test=document_fix * fix the doc test=develop test=document_fix * fix API.spec test=develop test=document_fix
-
由 zhouwei25 提交于
* fix English Doc of API:layers.py_func/sum, test=document_fix * fix English Doc of API:layers.array_read/array_write/array_length,test=develop test=document_fix
-
由 huzhiqiang 提交于
fix reorder_lod_tensor_by_rank doc en
-
- 10 10月, 2019 3 次提交
-
-
由 zhaoyuchen2018 提交于
* Refine StaticRNN api-doc-en * refine static rnn doc * refine api doc of fluid.data * refine api doc from commends * refine api.spec * Refine grammer
-
由 Pei Yang 提交于
-
由 wawltor 提交于
* test=document_fix Fix english doc api, invloves the op of greater_equal,greater_than,less_equal,not_equal, rank,rsqrt,diag,linspace,reduce_all,reduce_any,sign,where,zeros_like,unique_with_counts. * Fix some format problem in the op of sign and greather_than. test=develop test=document_fix * Fix the example of zeros_like, and update api.spec test=develop test=document_fix
-
- 23 9月, 2019 1 次提交
-
-
由 wopeizl 提交于
* optimize the error information when the input for while op has a wrong shape test=develop
-
- 15 8月, 2019 2 次提交
-
-
由 zhaoyuchen2018 提交于
* Fix recurrent op fails For the variable used in outter block, copy sub block's grad variable to outter block test=develop Signed-off-by: Nzhaoyuchen <zhaoyuchen01@baidu.com> * Fix unicode error test=develop Signed-off-by: Nzhaoyuchen <zhaoyuchen01@baidu.com> * Refine test code test=develop Signed-off-by: Nzhaoyuchen <zhaoyuchen01@baidu.com> * Fix seq2seq case fails test=develop Signed-off-by: Nzhaoyuchen <zhaoyuchen01@baidu.com> * remove unreasonable code. test=develop Signed-off-by: Nzhaoyuchen <zhaoyuchen01@baidu.com> * Refine code according to comment test=develop Signed-off-by: Nzhaoyuchen <zhaoyuchen01@baidu.com>
-
由 liym27 提交于
* change the default value of summarize from -1 to 20 in Print op to improve ease of use, test=develop * change the doc of API Print to make the document easier to understand, test=develop
-
- 01 7月, 2019 1 次提交
-
-
由 xsrobin 提交于
-
- 25 6月, 2019 1 次提交
-
-
由 Hongyu Liu 提交于
* sequnce mask support max length tensor input; test=develop * add rnn_impl.py; test=develop * add basic gru lstm unittest; test=develop * fix api spec; test=develop * fix sequence_mask op bug; test=develop test=document_preview * change +-*x to elmentwise_op; test=develop * add mkl flag; test=develop * fix rnn impl bug; test=develop * update api spec; test=develop * fix doc bug; test=develop * fix lstm bugs; test=develop
-
- 21 6月, 2019 1 次提交
-
-
由 zhaoyuchen2018 提交于
refine StaticRNN api doc test=develop test=document_preview
-
- 19 6月, 2019 1 次提交
-
-
由 zhoukunsheng 提交于
Fix doc example for greater_equal, greater_than, less_equal, not_equal, rank, reduce_all, reduce_any, sign, where, diag (#18167) * test=develop fix greater_than, greater_equal, less_equal, not_equal, rank, reduce_all, reduce_any, sign, where, diag doc example * test=develop fix API.spec conflict
-
- 15 6月, 2019 1 次提交
-
-
由 chengduo 提交于
* fix code bug test=develop
-
- 30 5月, 2019 2 次提交
-
-
由 hong19860320 提交于
* fix API examples of assign, reverse and array_write test=develop * update API.spec test=develop * update API examples for array_length, array_read, array_write, assign, hard_sigmoid, hsigmoid, increment, ones, pow, reverse, uniform_random and zeros * update API.spec for assign, reverse and array_write, etc.(#17287) * test=develop
-
由 wangchaochaohu 提交于
* API.spec test=develop * update * update test=develop * update test=develop * update * update test=develop * update test=develop * update test=develop * update test=develop * update test=develop * test=develop * update * update test=develop * update test=develop
-
- 29 5月, 2019 1 次提交
-
-
由 Zhaolong Xing 提交于
* fix: 1. infernce multi card occupy 2. facebox model inference occupy too much test=develop * refine python api comments: shuffle, while, scale, sampled_softmax_with_cross_entropy, scatter, round, sin, sqrt, shape, split, soft_relu, slice, selu, ifelse, switch. test=develodp * fix conflict error. test=develop
-
- 28 5月, 2019 1 次提交
-
-
由 石晓伟 提交于
* update python APIs test=document_preview test=develop * update API.spec test=document_preview test=develop * update merge_selected_rows * update API.spec test=document_preview test=develop * update API.spec test=document_preview test=develop * fix the comment of less_than test=develop test=document_preview * update API.spec test=develop test=document_preview * update API.spec test=develop test=document_preview * update API.spec test=develop test=document_preview * update API.spec test=develop * update API test=develop
-
- 24 5月, 2019 1 次提交
-
-
由 Zeng Jinle 提交于
* fix unique_name growth bug in dygraph mode,test=develop * change generate_tmp to generate_with_ignorable_key,test=develop
-