- 24 12月, 2021 1 次提交
-
-
由 Jiabin Yang 提交于
* Rearranged Eager AutoCodeGen directory structure * Removed USE_OP in Eager AutoCodeGen * Enabled generation for Operators without Grad/Inputs/Outputs * Resolved operators without input * Fixed merge conflicts * Enabled Eager AutoCodeGen for 10+ more operators * Refactored Eager AutoCodeGen with more organized helper objects * Enabled Eager AutoCodeGen for operators with multiple OpBases * Adjusted Eager AutoCodeGen to Enable Passing Output Tensor as Input Argument * Handled Dispensable Inputs/Outputs in Eager AutoCodeGen * Adjusted function generation/call between Python-C API & Dygraph API * Synchronized auto-generated Python-C API with Dygraph Forward Functions * support more eager tensor api * fix merge compile error * fix compile error and fit develop code * support pure CPU * fix some logic error in eager_mode * support _varbase_creator in eager mode * Added safe_initialized interface to EagerTensor for use in processing dispensable inputs * for eager mode * refine * support multiple constructor for eager tensor * add place related code * polish code * specific randint with dtype of int64 * Support pure cpu test * eager logic * refine test in pure cpu * eager logic * eager logic * eager logic, test=develop * skip core.eager when in inference, test=develop * refine, test=develop * refine, test=develop * call RetainGrad after run forward kernel, test=develop * refine, test=develop * support dygraph util, meta, guard test * support inference test * refine test and fix initializer failed Co-authored-by: Njim19930609 <jim19930609@gmail.com> Co-authored-by: NWang Huan <wanghuan29@baidu.com>
-
- 23 12月, 2021 1 次提交
-
-
由 zhouweiwei2014 提交于
* add new API: paddle.clone;Tensor.element_size;nn.utils.parameters_to_vector * fix comment
-
- 18 12月, 2021 1 次提交
-
-
由 Feiyu Chan 提交于
* add complex op and `paddle.complex`.
-
- 16 12月, 2021 1 次提交
-
-
由 Jiabin Yang 提交于
* support eager switch system * polish code
-
- 03 12月, 2021 1 次提交
-
-
由 wanghuancoder 提交于
* refine a test case, test=develop * publish python c api for eager, test=develop * revert modify about test_allclose_layer.py, test=develop * refine, test=develop * refine, test=develop * refine, test=develop * refine, test=develop * refine, test=develop * refine, test=develop * delete numpy includes, use pybind11 numpy.h, test=develop * refine, test=develop * refine, test=develop * refine, test=develop * suport eager error msg, and add grad test case, test=develop * refine, test=develop * refine, test=develop
-
- 18 10月, 2021 1 次提交
-
-
由 taixiurong 提交于
[XPU AMP] 1. xpu support gradient acc 2. xpu support create tensor in dygraph 3. xpu support update weight params in amp (#36439)
-
- 16 8月, 2021 1 次提交
-
-
由 Li Min 提交于
* Fix typos in english docs for diag and diagflat.
-
- 15 7月, 2021 1 次提交
-
-
由 wanghuancoder 提交于
* cache core.ops, test=develop * refine, test=develop
-
- 24 6月, 2021 1 次提交
-
-
由 houj04 提交于
* in NPU environment, use CPUPlace for missing operators. * in NPU environment, use CPUPlace for missing operators. * fix TensorCopy bug and add unit test. * fix code style. * add more unit tests.
-
- 16 6月, 2021 1 次提交
-
-
由 Leo Chen 提交于
* add return when input is tensor * fix typo
-
- 15 6月, 2021 1 次提交
-
-
由 Zhou Wei 提交于
-
- 09 6月, 2021 2 次提交
- 07 6月, 2021 1 次提交
-
-
由 Leo Chen 提交于
* add private api for memcpy_op * change place dtype * add private python api for memcpy op
-
- 04 6月, 2021 1 次提交
-
-
由 Leo Chen 提交于
* fix stop_gradient in paddle.to_tensor * make to_tensor copy if data is varbase * add ut * refine sample code
-
- 21 5月, 2021 1 次提交
-
-
由 Leo Chen 提交于
-
- 29 4月, 2021 1 次提交
-
-
由 zhiboniu 提交于
add __all__=[] to python files not in API public list; import * only support in API public list files (#32643)
-
- 27 4月, 2021 1 次提交
-
-
由 zhiboniu 提交于
-
- 26 4月, 2021 2 次提交
-
-
由 Huihuang Zheng 提交于
A follow up PR of #32420, we changed the doc of python/paddle/fluid/layers/tensor.py in that PR and we are changing python/paddle/tensor/creation.py in this PR.
-
由 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.
-
- 30 3月, 2021 1 次提交
-
-
由 Zhou Wei 提交于
-
- 12 1月, 2021 1 次提交
-
-
由 furnace 提交于
-
- 08 1月, 2021 1 次提交
-
-
由 liym27 提交于
In creation.assgin, reuse implamention code of layers.tensor.assign to avoid maintain two code (#30227)
-
- 07 1月, 2021 1 次提交
-
-
由 wangchaochaohu 提交于
-
- 07 12月, 2020 1 次提交
-
-
由 chentianyu03 提交于
* rm complexvariable * modify test_var_base unittest * remove duplicated codes
-
- 30 11月, 2020 1 次提交
-
-
由 yaoxuefeng 提交于
-
- 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 '''
-
- 20 11月, 2020 1 次提交
-
-
由 Zhou Wei 提交于
-
- 17 11月, 2020 1 次提交
-
-
由 zhupengyang 提交于
-
- 11 11月, 2020 1 次提交
-
-
由 furnace 提交于
-
- 10 11月, 2020 1 次提交
-
-
由 wangchaochaohu 提交于
-
- 26 10月, 2020 1 次提交
-
-
由 Zhou Wei 提交于
-
- 19 10月, 2020 1 次提交
-
-
由 liuyuhui 提交于
* transfer from paddle.fluid.layers.assign() into creation.py,test=develop * fix ut fail,add support for paddle.assign,test=develop * fix,test=develop * fix UT coverage,test=coverage * fix UT fail,test=coverage * fix doc,test=develop
-
- 16 10月, 2020 1 次提交
-
-
由 chentianyu03 提交于
-
- 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
-
- 29 9月, 2020 1 次提交
-
-
由 yaoxuefeng 提交于
-
- 17 9月, 2020 1 次提交
-
-
由 furnace 提交于
and optimize the c++ implmentation of empty op as PR#26659 reviews, and add bool for shape op.
-
- 11 9月, 2020 2 次提交
- 04 9月, 2020 1 次提交
-
-
由 wangchaochaohu 提交于
-