- 11 3月, 2021 1 次提交
-
-
由 jiangcheng 提交于
-
- 04 3月, 2021 1 次提交
-
-
由 Huihuang Zheng 提交于
Fix Read-Only Attribute as while_loop Output: Usually, our convert_while_loop will be like: ``` [a, b, c] = paddle.jit.dy2static.convert_while_loop( condition_name, body_name, [a, b, c]) ``` where a, b, c are in loop_var_names. However, if loop_var_names contains property such as foo.x, we cannot assign the attribute as output of convert_while_loop because Python property is a kind of read-only attribute. To handle the case, we replace the attributes which are output of convert_while_loop with generated variables, then if we know the attribute is not read-only at runtime, we assign the attribute. The created statements are like: ``` [a, b, __attribute_variable_1] = paddle.jit.dy2static.convert_while_loop( condition_name, body_name, [a, b, foo.x]) if not isinstance(getattr(type(foo), x, None), property): foo.x = __attribute_variable_1 ```
-
- 26 2月, 2021 1 次提交
-
-
由 pangyoki 提交于
-
- 24 2月, 2021 1 次提交
-
-
由 qingqing01 提交于
test=document_fix
-
- 03 2月, 2021 1 次提交
-
-
由 AshburnLee 提交于
-
- 29 1月, 2021 1 次提交
-
-
由 Jiaqi Liu 提交于
-
- 27 1月, 2021 2 次提交
-
-
由 liu zhengxi 提交于
* update gather_tree doc, test=document_fix * update sample code, test=document_fix * remove tensor type, test=document_fix
-
由 liu zhengxi 提交于
* upgrade gather_tree to core.ops * update gather_tree unittests
-
- 18 1月, 2021 1 次提交
-
-
由 Zhang Ting 提交于
-
- 14 1月, 2021 1 次提交
-
-
由 Jiaqi Liu 提交于
* add auc into 'all' list * alias acc, expose to users * update sample code
-
- 13 1月, 2021 1 次提交
-
-
由 Leo Chen 提交于
Set expected place in child thread for dataloader to avoid costing cuda memory on other card (#30338) * set expected place in child thread for dataloader * set device id when set tensor from numpy * revert tensor_py change * add compile guard * fix ci * fix bug
-
- 11 1月, 2021 1 次提交
-
-
由 XiaoguangHu 提交于
* delete paddle.nn.functional.assign * fix dynamic to static error
-
- 08 1月, 2021 1 次提交
-
-
由 liym27 提交于
In control flow, don't copy TensorArray from subblock to parent block when TensorArray is created in parent block.
-
- 07 1月, 2021 1 次提交
-
-
由 wangchaochaohu 提交于
-
- 06 1月, 2021 2 次提交
- 04 1月, 2021 1 次提交
-
-
由 WangXi 提交于
-
- 28 12月, 2020 1 次提交
-
-
由 XiaoguangHu 提交于
* rm check_import_scipy, rm chunk_eval and mean_iou in paddle.metric.__init__.py * Revert "rm check_import_scipy, rm chunk_eval and mean_iou in paddle.metric.__init__.py" This reverts commit 179ba8c2b22bc31fe8d8a126e31820792cbd0f4e. * delete paddle.metric.chunk_eval and paddle.metric.mean_iou * delete paddle.nn.clip and paddle.nn.clip_by_norm * delete paddle.nn.functional.activation.hard_sigmoid and paddle.nn.functional.activation.hard_swish * delete paddle.nn.Pool2D, paddle.nn.BilinearTensorProduct, paddle.nn.RowConv, paddle.nn.functional.row_conv * fix extension import error * fix unittest for row_conv and Pool2D
-
- 23 12月, 2020 1 次提交
-
-
由 Thunderbrook 提交于
* add heter box * add trainer, worker, wrapper... * format * for ci * format * remove boost get * boost & copyright * rename * rename * format * format * format Co-authored-by: Nyaoxuefeng6 <yaoxuefeng@baidu.com>
-
- 11 12月, 2020 1 次提交
-
-
由 Leo Chen 提交于
* add fast path for p == 0 in dropout * add ut
-
- 09 12月, 2020 1 次提交
-
-
由 joejiong 提交于
As the title
-
- 07 12月, 2020 1 次提交
-
-
由 liuyuhui 提交于
* fix DLTP-15151, paddle.ParamAttr API * fix DLTP-15083/DLTP-15274, paddle.nn.functionl.assign paddle.cast API * fix DLTP-15431/DLTP-15432, paddle.static.nn.conv2d paddle.static.nn.conv2d_transpose API * fix DLTP-15083, paddle.nn.functionl.assign API * fix DLTP-15431/DLTP-15432, paddle.static.nn.conv2d paddle.static.nn.conv2d_transpose API * support in_dygraph_mode for cast op, test=develop * fix bug,test=develop * fix doc * fix DLTP-15431/DLTP-15432, paddle.static.nn.conv2d paddle.static.nn.conv2d_transpose API
-
- 05 12月, 2020 1 次提交
-
-
由 Guo Sheng 提交于
* Fix api docs in RNN, Transformer, layer_norm, WeightNormParamAttr. test=develop * Fix api doc for print in label_smooth. test=develop * Update api docs according to review comments. Add name argument in RNN back. test=develop
-
- 04 12月, 2020 1 次提交
-
-
由 liym27 提交于
-
- 02 12月, 2020 2 次提交
-
-
由 LielinJiang 提交于
* move temporal_shift to functional
-
由 mls1999725 提交于
* Update conv3d API * Update nn.py * Update nn.py * Update nn.py * Update nn.py * Update nn.py * Update nn.py * Update nn.py * Update nn.py
-
- 01 12月, 2020 1 次提交
-
-
由 Leo Chen 提交于
* pass stop_gradient for cast op * improve performance of elementwise_add grad * use tensor copy async * dygraph branch * fix dygraph branch * add ut
-
- 30 11月, 2020 4 次提交
-
-
由 huangjun12 提交于
* fix en doc, test=document_fix * add blank after code declare, test=document_fix * refine doc of dropout, test=document_fix * refine npair_loss and dropout, test=document_fix
-
由 hong19860320 提交于
-
由 liym27 提交于
* Add a class TensorInplaceVersion to count the inplace version and put it in framework::Tensor instead of Allocation or Variable. * Add a new attribute `_inplace_version` for VarBase. * Raise exception if an inplace operation can result in incorrect gradient computation. * Add a new interface _bump_inplace_version() for VarBase to bump the version whenever the Tensor is modified through an inplace operation. * For api assign, call _bump_inplace_version() when it's an inplace operation inn dynamic mode. * Use original var_wrapper if the inplace_version is not changed. * Replace SnapshotVarWrapperList with SnapshotVarWrapper to optimize performane.
-
由 lilong12 提交于
* update, test=develop
-
- 28 11月, 2020 1 次提交
-
-
由 Huihuang Zheng 提交于
GridGenerator model failed because the output shape of `linspace` is (-1). The reason is that C++ InferShape fixes the shape to (-1): https://github.com/PaddlePaddle/Paddle/blob/5da3d514ebaa6fffd48c4a2e6bb5b16268dae92e/paddle/fluid/operators/linspace_op.cc#L49 We cannot set the shape in C++ infer shape because this Tensor may not be initialized during compile time, but when input `num` of `linspace` is an integer, we know the shape at compiler time. This PR simply set the shape in Python and add GridGenerator as unittest.
-
- 27 11月, 2020 6 次提交
-
-
由 Kaipeng Deng 提交于
* alias yolo_loss & decode_yolo_box to paddle.vision. test=develop
-
由 徐铭远 提交于
* fix doc example, test=develop, test=document_fix
-
由 Chen Long 提交于
-
由 pangyoki 提交于
* fix Categorical en doc * fix doc for apis * remove numpy in sample code
-
由 GaoWei8 提交于
-
由 Guanghua Yu 提交于
-
- 26 11月, 2020 2 次提交