Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[KP] Add unittests for brelu,ceil,celu,elu,floor,hard_shrink,hard_sigmoid,log1p,logsigmoid,relu6,silu,soft_relu,softsign,swish #40448

Merged
merged 28 commits into from
Mar 14, 2022

Conversation

AshburnLee
Copy link
Contributor

@AshburnLee AshburnLee commented Mar 11, 2022

PR types

Others

PR changes

Others

Describe

功能

补充XPU2上activation 14个op的单测

效果

export XPU_KPWHITE_LIST=brelu,ceil,celu,elu,floor,hard_shrink,hard_sigmoid,log1p,logsigmoid,relu6,silu,soft_relu,softsign,sqrt,square,swish, sqrt和square单测已存在。

brelu
截屏2022-03-11 14 40 29

ceil
截屏2022-03-11 14 41 08

celu
截屏2022-03-11 14 41 42

elu
截屏2022-03-11 14 42 03

floor
截屏2022-03-11 14 42 31

hard_shrink
截屏2022-03-11 14 42 55

hard_sigmoid
截屏2022-03-11 14 43 13

log1p
截屏2022-03-11 14 43 53

logsigmoid
截屏2022-03-11 14 44 16

relu6
截屏2022-03-11 14 44 41

silu
截屏2022-03-11 14 45 14

soft_relu
截屏2022-03-11 14 45 28

softsign
截屏2022-03-11 14 45 45

sqrt
截屏2022-03-11 14 45 55

square
截屏2022-03-11 14 46 09

swish
截屏2022-03-11 15 34 48

以上是各个op的执行设备(XPU)和调用库(KP),下是单测计算结果:
截屏2022-03-11 15 38 15

update Paddle USERNAME repo
@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@AshburnLee AshburnLee changed the title [KP] Add unittests for brelu,ceil,celu,elu,floor,hard_shrink,hard_sigmoid,log1p,logsigmoid,relu6,silu,soft_relu,softsign,sqrt,square,swish,thresholded_relu [KP] Add unittests for brelu,ceil,celu,elu,floor,hard_shrink,hard_sigmoid,log1p,logsigmoid,relu6,silu,soft_relu,softsign,swish,thresholded_relu Mar 11, 2022
@AshburnLee AshburnLee changed the title [KP] Add unittests for brelu,ceil,celu,elu,floor,hard_shrink,hard_sigmoid,log1p,logsigmoid,relu6,silu,soft_relu,softsign,swish,thresholded_relu [KP] Add unittests for brelu,ceil,celu,elu,floor,hard_shrink,hard_sigmoid,log1p,logsigmoid,relu6,silu,soft_relu,softsign,swish Mar 11, 2022
@xingfeng01 xingfeng01 merged commit f269ca3 into PaddlePaddle:develop Mar 14, 2022
@AshburnLee AshburnLee deleted the second branch March 14, 2022 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants