- 24 8月, 2020 7 次提交
-
-
由 whs 提交于
This PR enhance CPU kernel and add new CUDA kernel to make grid_sample support: - align_corners: with bool type. - padding mode: which can be in ['zeros', 'reflect', 'border'] - Interpolation mode: which ca be in ['bilinear', 'nearest'] The old CPU and CUDNN version only support align_corners=true, padding_mode='zeros' and interpolation_mode='bilinear'. The behavior of the new version op in default mode is compatible with the old version.
-
由 Guo Sheng 提交于
* Add MultiHeadAttention api. test=develop * Add MultiHeadAttention cache type and gen_cache. test=develop * Add TransformerEncoderLayer and TransformerEncoder. test=develop * Add Transformer decoder apis. test=develop * Add Transformer api. test=develop * add unittests for transformer api * add unittests for transformer api * Fix some bugs in Transformer apis. test=develop * add unittests for encoder, decoder and transformer * clean conflicts infor in code * clean Chinese comments * Add TransformerDecoderCell and TransformerBeamSearchDecoder. test=develop * Remove TransformerDecoderCell and TransformerBeamSearchDecoder temporarily. test=develop * Add import for Transformer apis. test=develop * Update usage of weight_attr and Tensor in Transformer api docs. test=develop * Update Transformer apis by renaming MultiheadAttention and cal_kv according to comments. test=develop * Fix MultiHeadAttention in test_transformer_api.py. test=develop Co-authored-by: NLiuChiaChi <709153940@qq.com>
-
由 Bai Yifan 提交于
-
由 Zhong Hui 提交于
change to use bce_loss op, add numel check for bce_loss.
-
由 ShenLiang 提交于
* add div, floor_div, remainder
-
由 Li Fuchen 提交于
-
由 hong19860320 提交于
-
- 23 8月, 2020 4 次提交
-
-
由 whs 提交于
-
由 huangjun12 提交于
* add alpha_dropout in nn.functional and nn.layer, test=develop * refine Interface and assertion, test=develop * fix ci import error, test=develop * fix alias and use layers.scale, test=develop * fix doc and training params, test=develop * refine details in doc, test=develop * fix doc details, test=develop
-
由 whs 提交于
-
由 LielinJiang 提交于
* update Conv2d Conv3d conv2d conv3d api
-
- 22 8月, 2020 7 次提交
-
-
由 LielinJiang 提交于
* update conv_transpose api
-
由 hong19860320 提交于
-
由 zhupengyang 提交于
-
由 WangXi 提交于
-
由 Zhong Hui 提交于
* add binary cross entropy with logit loss
-
由 zhupengyang 提交于
-
由 huangjun12 提交于
* [API2.0] add dropout, dropout2d and dropout3d, test=develop * refine Interface and assertion after review, test=develop * fix alias p=1 and use scale, test=develop * fix doc and training, test=develop * fix doc in Dropout2D, test=develop
-
- 21 8月, 2020 8 次提交
-
-
由 littletomatodonkey 提交于
-
由 Li Fuchen 提交于
* add functional ctc_loss and CTCLoss class. * modified docstring of ctc_loss and CTCLoss
-
由 wawltor 提交于
Update the error message for the margin_ranking_loss
-
由 chajchaj 提交于
* add cross_entropy to nn/layer and nn/functional, test=develop * use functional/cross_entropy in layer/CrossEntropy * use functional/cross_entropy in layer/CrossEntropy, test=develop
-
由 Yang Zhang 提交于
* Update `paddle.clamp` rename to `paddle.clip` add fast path for dygraph mode remove `out` rename `input` -> `x` update doc sample * Fix leftover `Variable` wording * Indent doc with spaces * Remove `:alias` in docs * Update `enable_imperative` -> `disable_static` * Remove `imperative` also trigger CI * Update tests for better coverage * Rebase to fix `cosine_similarity` * Fix `cosine_similarity` some more
-
由 Bai Yifan 提交于
* add adaptive_avg_pool2d * add adaptive_avg_pool3d
-
由 Qi Li 提交于
-
由 Zhong Hui 提交于
Fix the API of bce loss and add functional API binary_cross_entropy
-
- 20 8月, 2020 6 次提交
-
-
由 hong19860320 提交于
-
由 ceci3 提交于
* add weight_norm, test=develop
-
由 Aurelius84 提交于
* Rename `Input` into `InputSpec` * fix argument place of Input api
-
由 yukavio 提交于
* add input.py file * write input.py * fix init file * add unit tests * fix dygraph and input shape * Revert "fix dygraph and input shape" This reverts commit 89ad8664. * fixed pylint * fix deprecated * fix old op * fix old op * set check_dygraph=True * Revert "set check_dygraph=True" This reverts commit a8e93e33. * test commit * fix doc and change test file name
-
由 Guanghua Yu 提交于
-
由 Chen Weihang 提交于
-
- 19 8月, 2020 3 次提交
-
-
由 littletomatodonkey 提交于
* add pad func * add pad * test=develop, add pad op and apis * restore pad2d * test=develop, fix paddl declare * fix pad interface * test=develop, fix pad * test=develop, add all pad api and cos_sim * test=develop, remove padding default value * test=develop, rename var to tensor * test=develop, add more tests * test=develop, rename tovar to totensor * test=develop, fix init * test=develop, add more test * test=develop, add more tests
-
由 ceci3 提交于
* add SyncBatchNorm,test=develop
-
由 Qi Li 提交于
* logsigmoid and LogSigmoid, test=develop * add elu gelu relu, test=develop * update to_variable to to_tensor, test=develop * address review comments, test=develop * address review comments, test=develop * change to_variable to to_tensor in test, test=develop
-
- 18 8月, 2020 2 次提交
-
-
由 zhupengyang 提交于
-
由 LutaoChu 提交于
add nn.functional.normalize API for API2.0, fix L1Loss API typo, test=develop
-
- 17 8月, 2020 3 次提交