- 18 1月, 2021 1 次提交
-
-
由 pangyoki 提交于
Cherry-pick PR 30103. Add Inplace strategy (Output reuse Input Varbase) in dygraph (#30103) (#30496) * add view strategy on squeeze,unsqueeze,reshape,flatten * add squeeze unittest * add unittests * use View strategy as name rather than Reuse Allacation * fix view api doc * fix format * use core.ops when input of reshape2 is Tensor * fix test_cross_entropy_loss error because of reshape2 * fix test_cross_entropy_loss error because of reshape2 * add inplace strategy * add elementwise_add sub * let backward op not use inplace * grad op do not use inplace * fix memory increase error and add leaf error message * delete selected_rows * change op_function * little change * solve HandleViewBetweenInputAndOutput * add unittest and leaf error message * merge view error * optimize op_function_generator format and support sum inplace op * fix format of basic_engine * fix format for framework * little change of variable wrapper * add reshape, squeeze, unsqueeze, scatter api * add relu elu tanh softmax inplace api * fix test_squeeze_op unittest * fix test_relu_op unittest * fix comment problems * delete sample code of inplace api * add reference of grad_pending_nodes in basic_engine * fix unittest name * add inplace apis into wlist * fix error message * add PADDLE_ENFORCE for set grad op twice * fix head file error
-
- 15 1月, 2021 1 次提交
-
-
由 pangyoki 提交于
* Cherry-pick 30072, add dispenable input for core.ops.reshape2/expand/slice (#30072) * add dispenable input 'shape' for core.ops.reshape2 * add dispenable inputs for core.ops.reshape2/expand/slice * add ut * save reshape update in pr 30180 * save reshape update v2 in pr 30180 Co-authored-by: NLeo Chen <chenqiuliang@baidu.com>
-
- 14 1月, 2021 1 次提交
-
-
由 chajchaj 提交于
* fix bug of celoss when using ignore_index and reduction (#30180) * fix bug of using ignore_index and reduction,test=develop * fix bug of celoss when using ignore_index and reduction, test=develop * improve performance when ignore_index=-100, test=develop * add test in test_cross_entropy_loss.py for coverage rate, test=develop * rm comment in test_cross_entropy_loss.py, test=develop * del hard code of "float64" in python/paddle/nn/functional/loss.py, test=develop * change mask to a more simplified implementation, test=develop * del comment in python/paddle/nn/functional/loss.py, test=develop * del hard code and change mask to a more simplified implementation, test=develop * change mask to a more simplified implementation, test=develop * change mask to a more simplified implementation, test=develop * fix bug of celoss when using ignore_index and reduction (#30180) * fix bug of using ignore_index and reduction,test=develop * fix bug of celoss when using ignore_index and reduction, test=develop * improve performance when ignore_index=-100, test=develop * add test in test_cross_entropy_loss.py for coverage rate, test=develop * rm comment in test_cross_entropy_loss.py, test=develop * del hard code of "float64" in python/paddle/nn/functional/loss.py, test=develop * change mask to a more simplified implementation, test=develop * del comment in python/paddle/nn/functional/loss.py, test=develop * del hard code and change mask to a more simplified implementation, test=develop * change mask to a more simplified implementation, test=develop * change mask to a more simplified implementation, test=develop
-
- 11 1月, 2021 1 次提交
-
-
由 XiaoguangHu 提交于
* fix dynamic to static error * delete paddle.nn.functional.assign
-
- 09 1月, 2021 1 次提交
-
-
由 littletomatodonkey 提交于
-
- 07 1月, 2021 3 次提交
-
-
由 Leo Chen 提交于
* Improve performance of elementwise_add grad op (#29187) * pass stop_gradient for cast op * improve performance of elementwise_add grad * use tensor copy async * dygraph branch * fix dygraph branch * add ut * make gelu fp16 computing more robust (#29484) * Add fast path for dropout when p == 0 (#29553) * add fast path for p == 0 in dropout * add ut
-
由 furnace 提交于
* Layer norm fp16 (#29169) * add fp16 for layer_norm op * revert layernorm api * fix forward * fix forward * fix backward for layernorm with fp16 * fix unit test for layernorm with fp16 * fix with_mkldnn compile error for layernorm with fp16 * 1. revert to PADDLE_ENFORCE_NOT_NULL, 2. change static_cast<float> to static_cast<U> * fix with_mkldnn compile error for layernorm with fp16 * fix with_mkldnn compile error for layernorm with fp16 Co-authored-by: Nzhiqiu <chenqiuliang@baidu.com> * fix layer_norm accuracy (#29434) * Layernorm opt (#29522) * layernorm fw opt * layernorm bw opt * fix typo, test=develop * remove const dim3 for windows CI compatibility * merge develop Co-authored-by: Nzlsh80826 <zlsh80826@gmail.com> * Fix compile problem when cuda_arch < 6000 (#29576) * fix compile problem when cuda_arch < 6000 * refine code * refine code Co-authored-by: Nzhiqiu <chenqiuliang@baidu.com> Co-authored-by: Nzlsh80826 <zlsh80826@gmail.com>
-
由 ceci3 提交于
* fix bn docs (#30096) * add attribute for batch_norm (#29950) * add attribute for batch_norm
-
- 06 1月, 2021 1 次提交
-
-
由 huangxu96 提交于
* add fp16 check into max and avg pool (#29479) * Add ReserveSpace in dygraph batch_norm. (#29221) * Add ReserveSpace in dygraph batch_norm. * Add unittest for reservespace * add float16 into adaptive_avg_pool2d check list. (#29547)
-
- 31 12月, 2020 1 次提交
-
-
由 zhupengyang 提交于
test=develop
-
- 30 12月, 2020 1 次提交
-
-
由 Chen Long 提交于
* fix doc bugs test=document_fix * fix code bugs test=document_fix * fix code bugs test=document_fix * fix doc bugs test=document_fix * fix doc bugs test=document_fix * fix doc bugs test=document_fix
-
- 29 12月, 2020 1 次提交
-
-
由 XiaoguangHu 提交于
* [cherry-pick] cherry-pick of PR#29928 * 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 * [cherry-pick] cherry-pick of PR#29928 * fix extension import error
-
- 07 12月, 2020 3 次提交
-
-
由 chajchaj 提交于
-
由 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
-
由 tangwei12 提交于
* fix gpu emb out of range Change-Id: I5794ac73bd634d5ea069a6fbbd914274b6d6b7bf * fix doc Change-Id: I5a3350b2930a9ab2f52116c192b087307faf8fdf
-
- 05 12月, 2020 1 次提交
-
-
由 Feiyu Chan 提交于
* fix multiple documentation error, test=document_fix * fix more rst syntax errors, test=document_fix * fix format issues in docstring, test=document_fix
-
- 04 12月, 2020 1 次提交
-
-
由 Chen Long 提交于
-
- 03 12月, 2020 2 次提交
-
-
由 LielinJiang 提交于
* move temporal_shift to functional
-
由 Jack Zhou 提交于
fix nll_loss doc;test=document_fix
-
- 01 12月, 2020 1 次提交
-
-
由 Leo Chen 提交于
-
- 30 11月, 2020 2 次提交
-
-
由 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
-
由 danleifeng 提交于
-
- 29 11月, 2020 1 次提交
-
-
由 zhang wenhui 提交于
* fix 2.0 api, test=develop * fix api, test=develop
-
- 27 11月, 2020 3 次提交
-
-
由 徐铭远 提交于
* fix doc example, test=develop, test=document_fix
-
由 xiaoting 提交于
* fix interpolate example, test=develop;test=document_fix * fix format, test=develop, test=document_fix * update upsample doc, test=develop, test=document_fix
-
由 whs 提交于
* 1. grid_sample 1.1 fix has_print 2. conv1d_transpose 2.1 fix code_example error 3. conv1d 4. affine_grid 4.1 has_print 4.2 has_disable_static 5. Conv1DTranspose 5.1 fix code_example error 5.2 has_disable_static 6. Conv1d 6.1 code_example 6.2 has_disable_static
-
- 26 11月, 2020 3 次提交
-
-
由 Noel 提交于
Fix ops doc for some ops
-
由 whs 提交于
-
由 Guanghua Yu 提交于
-
- 25 11月, 2020 3 次提交
-
-
由 GaoWei8 提交于
-
由 FlyingQianMM 提交于
* rewrite the sigmoid_focal_loss code example. test=develop * fix spelling mistake in comments of code example.test=develop * change print([.*].numpy()) to print([.*]) in example codes of sigmoid_focal_loss. test=document_fix
-
由 chajchaj 提交于
* save one name in cross_entropy and softmax_cross_entropy, test=develop * change used function in CrossEntropy from softmax_cross_entropy to cross_entropy, test=develop
-
- 24 11月, 2020 4 次提交
-
-
由 joejiong 提交于
As the title
-
由 chajchaj 提交于
* add soft_label and axis for CrossEntropyLoss and improve performance,test=develop * fix conflict in nn/functional/loss.py, 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 '''
-
由 wanghuancoder 提交于
* fix eng doc, test=develop * add import deprecated for layers, test=develop * add block line for doc generate, test=develop * remove todo for create_variable, test=develop * add blank line for doc generate, test=develop * add blank line for doc generate, test=develop
-
- 23 11月, 2020 2 次提交
-
-
由 lijianshe02 提交于
* fix English doc for dice_loss, log_loss, unfold and NLLLoss API test=document_fix
-
由 LielinJiang 提交于
* optimize conv performance
-
- 20 11月, 2020 2 次提交
-
-
由 123malin 提交于
* test=develop, bug fix for embeddings padding * fix raise Value for Embedding Change-Id: I6d343fceee369a5796ad59cca5c91fdd15429125 Co-authored-by: NseiriosPlus <tangwei12@baidu.com>
-
由 Bai Yifan 提交于
* fix code example, test=document_fix
-