- 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 提交于
-
- 17 1月, 2020 1 次提交
-
-
由 songyouwei 提交于
* fix circular dependent * try import layers.nn from dygraph test=develop
-
- 16 1月, 2020 1 次提交
-
-
由 Li Fuchen 提交于
* Fixed warpctc, test=develop * Set lod level of sequence_unpad's output to 1 in compile time test=develop * fix the en doc and example code of warpctc, test=develop, test=document_fix
-
- 14 1月, 2020 1 次提交
-
-
由 Leo Chen 提交于
* refine code, test=develop * reuse contain_var, test=develop
-
- 13 1月, 2020 1 次提交
-
-
由 123malin 提交于
* test=develop, bug fix for sparse recorder
-
- 09 1月, 2020 1 次提交
-
-
由 Leo Chen 提交于
* update layers, test=develop * update layers for resnet, test=develop * fix is_test attr, test=develop * update cycle_gan, test=develop * update reinforcement_learning, test=develop * update ocr, test=develop * fix bug, test=develop
-
- 08 1月, 2020 4 次提交
-
-
由 Zhang Ting 提交于
-
由 mapingshuo 提交于
* add example for reshape op
-
由 zhongpu 提交于
* modify fc to linear in sample code, test=develop * remove FC, test=develop * remove warnings, test=develop * drop fluid/imperative/README.md , test=develop * change fc to linear, test=develop * polish code style, test=develop
-
由 Double_V 提交于
1. Add a new input named batch_roi_nums for prroi_pool_op. batch_roi_nums includes the number of roi for each image in batch when rois is Tensor. This information is saved in rois's lod when rois is LoDTensor. 2. add grad check to prroi_pool_op and solve unnormal X grad diff in CPU.
-
- 07 1月, 2020 2 次提交
-
-
由 liym27 提交于
-
由 Feiyu Chan 提交于
* add erf op and python interface. * add fp16 support for erf op. * add unitests for erf op and its python interface.
-
- 06 1月, 2020 2 次提交
-
-
由 Huihuang Zheng 提交于
-
由 Qinghe JING 提交于
* fix dim=[] bug in reduce ops
-
- 04 1月, 2020 2 次提交
-
-
由 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
-
由 ShenLiang 提交于
-
- 03 1月, 2020 3 次提交
-
-
由 Liufang Sang 提交于
* add shape description in accuracy api doc test=develop * fix details test=develop * fix details test=develop
-
由 Yibing Liu 提交于
* Fix example in log_loss doc, test=develop * Use none for unknown dim, test=develop, test=document_fix
-
由 mapingshuo 提交于
* convert dtype of vars for range op, test=develop
-
- 02 1月, 2020 1 次提交
-
-
由 ceci3 提交于
* update error information about batch_norm_grad * update bn,test=develop
-
- 31 12月, 2019 2 次提交
- 26 12月, 2019 1 次提交
-
-
由 hutuxian 提交于
* fix stat shape back in global auc scenario * add UT to cover global auc
-
- 24 12月, 2019 3 次提交
- 23 12月, 2019 1 次提交
-
-
由 Leo Chen 提交于
* add unittests, test=develop * set dtype of compare op to bool, test=develop
-
- 20 12月, 2019 1 次提交
-
-
由 hong 提交于
-
- 18 12月, 2019 1 次提交
-
-
由 Leo Chen 提交于
adds unary operator __neg__ for VarBase in dygraph mode, and for Variable in static graph mode.
-
- 17 12月, 2019 1 次提交
-
-
由 zhouwei25 提交于
* increase example code of py_func, fix some wrong description of English API doc
-
- 16 12月, 2019 3 次提交
-
-
由 Kaipeng Deng 提交于
* yolo_box OP add Attr(clip_bbox). test=develop
-
由 zhouwei25 提交于
-
由 Leo Chen 提交于
* patch math method for varbase using auto-generated op functions, test=develop * clean code that handles batch_size, test=develop * follow comments, test=develop * follow comments, test=develop * code clean, test=develop
-
- 11 12月, 2019 1 次提交
-
-
由 Huihuang Zheng 提交于
-
- 09 12月, 2019 2 次提交
-
-
由 Huihuang Zheng 提交于
As the title
-
由 guofei 提交于
Add basic while_loop
-
- 06 12月, 2019 3 次提交
-
-
由 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
-
由 Feiyu Chan 提交于
Add a python interface for Gelu. Add documentation for fluid.layers.gelu.
-
由 wangchaochaohu 提交于
-