- 30 11月, 2020 2 次提交
-
-
由 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 6 次提交
-
-
由 Noel 提交于
Fix ops doc for some ops
-
由 Leo Chen 提交于
* split train_mode and has_grad * fix format * fix ci problems * fix sample code
-
由 ShenLiang 提交于
-
由 Chen Weihang 提交于
* add static_only for static api * addd static_only for class init * remove static_only for default_main_program * remove creater_parameter & startup_program * remove failed apis * revert py_func import * remove global scope * remove some api * remove cuda pinned place
-
由 ceci3 提交于
* fix examples, test=document_fix * fix, test=document_fix
-
由 hutuxian 提交于
-
- 25 11月, 2020 3 次提交
- 24 11月, 2020 3 次提交
-
-
由 Chen Long 提交于
* fix some docs test=develop;test=document_fix * add code example test=develop;test=document_fix * fix code example test=develop;test=document_fix * fix code example test=develop;test=document_fix * fix code example test=develop;test=document_fix
-
由 ysh329 提交于
* fix clip by norm eng doc. test=develop
-
由 Leo Chen 提交于
* upgrade comment string to raw string * fix string in * fix string with ' ' * revert update on comments * upgrade only necessary * fix sample code checker * fix comments with '''
-
- 23 11月, 2020 1 次提交
-
-
由 lijianshe02 提交于
* fix English doc for dice_loss, log_loss, unfold and NLLLoss API test=document_fix
-
- 20 11月, 2020 2 次提交
-
-
由 Bai Yifan 提交于
* fix code example, test=document_fix
-
由 Aurelius84 提交于
* Fix wrong out dtype from helper.input_dtype * add unittest * remove disable_static in op_test * fix param name typo
-
- 19 11月, 2020 2 次提交
- 17 11月, 2020 1 次提交
-
-
由 zhupengyang 提交于
-
- 16 11月, 2020 1 次提交
-
-
由 Huihuang Zheng 提交于
PaddleSeg uses tuple as parameter of transpose in dygraph code: https://github.com/PaddlePaddle/PaddleSeg/blob/release/v0.7.0/dygraph/paddleseg/models/danet.py#L152 However, in dy2stat, static code doesn't support the perm as a tuple. This PR fixed it.
-
- 30 10月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
* check and fix tensor and scalar type promotion * fix else branch error * fix scalar method error * fix test_math_op_path unittest * add future division for unittest * rm useless bin file
-
- 28 10月, 2020 2 次提交
- 27 10月, 2020 1 次提交
-
-
由 wangchaochaohu 提交于
-
- 26 10月, 2020 1 次提交
-
-
由 cnn 提交于
* Release 2.0rc cherry pick api rename #28108 (#28184) * rename count_include_pad-->exclusive return_indices-->return_mask * remove track_running_stats * fix typo. * rename xxxd-->xxxxD * solve conflicts * 2.0rc api add all any (#28199) * reduce trt warning message (#28011) add paddle.enable_static() on sample code alias recude_all-->all, reduce_any-->any add import reduce_all and reduce_any in python/paddle/tensor/math.py import all and any in python/paddle/tensor/__init__.py remove all and any OP in python/paddle/tensor/logic.py, add all and any OP in python/paddle/tensor/math.py fix import error remove TestAllAPI temporary * fix doc of recdue_all and reduce_any, test=document_fix * fix typo * fix unittest for all and any API Co-authored-by: NPei Yang <peiyang@baidu.com> * rename conv_transposeXd-->convXd_transpose (#28198) * fix sample code of reduce_all and reduce_any Co-authored-by: NPei Yang <peiyang@baidu.com>
-
- 21 10月, 2020 1 次提交
-
-
由 liu zhengxi 提交于
-
- 20 10月, 2020 1 次提交
-
-
由 wangguanzhong 提交于
* fix generate_proposal_labels in cascade-rcnn series model, test=develop * fix example code & unittest, test=develop * update code from review comments, test=develop
-
- 16 10月, 2020 2 次提交
-
-
由 chentianyu03 提交于
-
由 Guo Sheng 提交于
* Make dynamic_decode support dygraph and expose to API 2.0 test=develop * update info about BeamSearchDecoder and dynamic_decode * remove all APIs in paddle.text, expose BeamSearchDecoder and dynamic_decode * update example code * delete test_text.py, decode.py, update some doc, fix example code float64 * delete decode import from paddle.nn * fix unittest bugs * use dygraph.Embedding instead of nn.Embedding, add paddle.enbale_static() * update, correct doc * move dynamic_decode, BeamSearchDecoder API to paddle.nn * fix code style * update unittest param, delete import pf text.py * set dtype of beamsearchtest float64 * update example code of BeamSearchDecoder, dynamic_decode Co-authored-by: NLiuChiaChi <709153940@qq.com>
-
- 15 10月, 2020 2 次提交
-
-
由 Thunderbrook 提交于
* test=document_fix * fix slice doctest=document_fix * test=document_fix * test=document_fix * test=document_fix * test=document_fix
-
由 mapingshuo 提交于
-
- 14 10月, 2020 1 次提交
-
-
由 chentianyu03 提交于
* modify cond while_loop to paddle.static.nn.cond * modify crop_tensor to paddle.crop * modify Variable to paddle.static.Variable * remove nn.beam_search, nn.beam_search_decode, nn.gather_tree * remove bpr_loss, center_loss, rank_loss, smooth_l1, teacher_student_sigmoid_loss, edit_distance, sampled_softmax_with_cross_entropy in nn.functional * remove apis in nn.functional.learn_rate.py * remove pool2d, pool3d, adaptive_pool2d, adaptive_pool3d in nn.functional * remove apis in nn.functional.vision * remove erf, soft_relu in nn.functional.activation * remove apis in nn.functional.extension * remove nn.functional.rnn * remove hash from nn.functional.lod * remove row_conv from nn.functional.extension * remove one_hot, pad2d, pad_constant_like from nn.functional.common * remove nn.gather_tree, nn.BilinearTensorProduct, nn.Pool2D, nn.Pad2D * remove apis from optimizer.__init * remove tensor.creation.fill_constant * remove elementwise_mul in nn.functional.common and modify to paddle.multiply * remove tensor.stat.reduce_mean * remove reduce_all, reduce_any in tensor.logic * remove apis in tensor.math * remove apis in tensor.__init__ * remove has_inf, has_nan in tensor.search * remove apis in framework.__init__ * remove apis in paddle.__init__ * remove apis in nn.functional.__init__ * modify removed alias apis to raw api in doc and unittests * fix remove grid_sample bug * modify removed alias apis to raw api in doc and unittests * modify removed alias apis to raw api in doc and unittests * modify removed alias apis to raw api in doc and unittests * modify removed alias apis to raw api in doc and unittests * modify removed alias apis to raw api in doc and unittests * modify removed alias apis to raw api in doc and unittests * delete alias api relastions in doc * reserve paddle.compat, paddle.sysconfig * remove unittest for paddle.reduce_all, paddle.reduce_any * modify removed alias apis to raw api in doc and unittests * recover paddle.save and paddle.load * resolve conflicts * fix sample code missing paddle.enable_static() bug * fix sample code missing paddle.enable_static() bug * fix to_string sample code error
-