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

【PaddlePaddle Hackathon 4 】add silu for paddle #16007

Closed
wants to merge 2 commits into from

Conversation

taixiurong
Copy link
Contributor

@taixiurong taixiurong commented Feb 28, 2023

@taixiurong
Copy link
Contributor Author

@ceciliapeng2011 please review this silu

auto exp_neg_x = std::make_shared<default_opset::Exp>(neg_x);
auto const_one = default_opset::Constant::create<float>(ov::element::f32, {1}, {1});
auto denominator = std::make_shared<default_opset::Add>(const_one, exp_neg_x);
return node.default_single_output_mapping({std::make_shared<default_opset::Divide>(x, denominator)}, {"Out"});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use Swish operation from openvino opset.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@ilya-lavrenov ilya-lavrenov added ExternalPR External contributor PaddlePaddle Hackathon a Intel and Baidu joint Hackathon event labels Mar 4, 2023
@openvino-comment-bot
Copy link

Can one of the admins verify this patch?

@akladiev
Copy link
Collaborator

This PR will be closed in a week because of 2 weeks of no activity.

@akladiev akladiev added the Stale label May 26, 2023
@akladiev
Copy link
Collaborator

akladiev commented Jun 2, 2023

This PR was closed because it has been stalled for 2 week with no activity.

@akladiev akladiev closed this Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: PDPD FE OpenVINO PaddlePaddle FrontEnd ExternalPR External contributor PaddlePaddle Hackathon a Intel and Baidu joint Hackathon event Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants