- 26 4月, 2021 1 次提交
-
-
由 Huihuang Zheng 提交于
paddle.to_tensor will be translated to paddle.assign in Dy2stat, however paddle.assign doesn't support int, float, bool. This PR added the supports.
-
- 25 4月, 2021 1 次提交
-
-
由 Huihuang Zheng 提交于
`range` API set its output shape in dygraph but not in static graph, which can cause Dy2stat error. This PR set the shape of `range` API when possible.
-
- 01 4月, 2021 1 次提交
-
-
由 Zhang Zheng 提交于
-
- 11 3月, 2021 1 次提交
-
-
由 jiangcheng 提交于
-
- 18 1月, 2021 1 次提交
-
-
由 Zhang Ting 提交于
-
- 11 1月, 2021 1 次提交
-
-
由 XiaoguangHu 提交于
* delete paddle.nn.functional.assign * fix dynamic to static error
-
- 06 1月, 2021 1 次提交
-
-
由 Leo Chen 提交于
* add dispenable input 'shape' for core.ops.reshape2 * add dispenable inputs for core.ops.reshape2/expand/slice * add ut
-
- 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
-
- 04 12月, 2020 1 次提交
-
-
由 liym27 提交于
-
- 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 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 提交于
-