- 30 11月, 2020 1 次提交
-
-
由 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.
-
- 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.
-
- 26 11月, 2020 1 次提交
-
-
由 Noel 提交于
Fix ops doc for some ops
-
- 24 11月, 2020 1 次提交
-
-
由 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 '''
-
- 14 10月, 2020 2 次提交
-
-
由 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
-
由 liuyuhui 提交于
* update assign/cast/linspace/addcmul op doc for 2.0 api,test=document_fix * fix bug about cast doc for 2.0 api,test=document_fix
-
- 13 10月, 2020 1 次提交
-
-
由 Steffy-zxf 提交于
Update code examples for api2.0
-
- 30 9月, 2020 1 次提交
-
-
由 Wilber 提交于
-
- 23 9月, 2020 1 次提交
-
-
由 wangchaochaohu 提交于
-
- 22 9月, 2020 1 次提交
-
-
由 wangchaochaohu 提交于
-
- 21 9月, 2020 1 次提交
-
-
由 Wilber 提交于
-
- 08 9月, 2020 1 次提交
-
-
由 yaoxuefeng 提交于
-
- 06 9月, 2020 1 次提交
-
-
由 wangchaochaohu 提交于
-
- 05 9月, 2020 1 次提交
-
-
由 wangchaochaohu 提交于
-
- 04 9月, 2020 2 次提交
-
-
由 wangchaochaohu 提交于
-
由 AshburnLee 提交于
-
- 03 9月, 2020 1 次提交
-
-
由 zhupengyang 提交于
-
- 22 8月, 2020 2 次提交
-
-
由 LutaoChu 提交于
add paddle.tensor.linalg.diag API, diag_v2 OP and CUDA kernel.
-
由 wangchaochaohu 提交于
-
- 21 8月, 2020 1 次提交
-
-
由 wangchaochaohu 提交于
-
- 20 8月, 2020 1 次提交
-
-
由 wangchaochaohu 提交于
-
- 14 8月, 2020 1 次提交
-
-
由 wangchaochaohu 提交于
-
- 07 8月, 2020 1 次提交
-
-
由 wangchaochaohu 提交于
-
- 04 8月, 2020 1 次提交
-
-
由 wangchaochaohu 提交于
-
- 31 7月, 2020 1 次提交
-
-
由 Zhang Ting 提交于
-
- 30 7月, 2020 1 次提交
-
-
由 wangchaochaohu 提交于
-
- 29 7月, 2020 1 次提交
-
-
由 zhupengyang 提交于
-
- 27 7月, 2020 1 次提交
-
-
由 wangchaochaohu 提交于
-
- 21 7月, 2020 2 次提交
-
-
由 wangchaochaohu 提交于
-
由 wangchaochaohu 提交于
-
- 17 7月, 2020 1 次提交
-
-
由 zhupengyang 提交于
-
- 14 7月, 2020 1 次提交
-
-
由 zhupengyang 提交于
-
- 12 7月, 2020 1 次提交
-
-
由 wangchaochaohu 提交于
-
- 10 7月, 2020 1 次提交
-
-
由 wangchaochaohu 提交于
-
- 07 7月, 2020 1 次提交
-
-
由 zhupengyang 提交于
-
- 08 6月, 2020 1 次提交
-
-
由 Aurelius84 提交于
* Support LoDTensorArray in reverse_op test=develop * polish en doc and unittest code test=develop * refine sample code test=develop * add example of LoDTensorArray test=develop * fix typo test=develop
-
- 04 6月, 2020 1 次提交
-
-
由 wangchaochaohu 提交于
-
- 14 5月, 2020 1 次提交
-
-
由 swtkiwi 提交于
-
- 13 5月, 2020 1 次提交
-
-
由 mapingshuo 提交于
* fix error log: resahpe, range, reverse.
-
- 26 4月, 2020 1 次提交
-
-
由 HappyAngel 提交于
python API(get_tensor_from_selected_rows and tensor_array_to_tensor)error message enhance, test=develop (#23636)
-