Skip to content

add mish op#14191

Closed
Sun2018421 wants to merge 1 commit intoapache:mainfrom
DadJie:xiaofengSun
Closed

add mish op#14191
Sun2018421 wants to merge 1 commit intoapache:mainfrom
DadJie:xiaofengSun

Conversation

@Sun2018421
Copy link

添加mish算子

@tvm-bot
Copy link
Collaborator

tvm-bot commented Mar 4, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

  • No users to auto-tag found, no teams are specified in PR title See #10317 for details

Generated by tvm-bot

@run_math_api
def test_forward_tanh():
pass
# @run_math_api
Copy link
Member

Choose a reason for hiding this comment

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

looks it shouldn't be commented out

@@ -0,0 +1,10 @@
import numpy as np
import onnx
Copy link
Member

Choose a reason for hiding this comment

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

remove this file?

rhs = _op.log(one+_op.exp(x))* _op.cast((x<=threshold),dtype)
softplus = lhs + rhs
out = x*_op.tanh(softplus)
# op_func = get_relay_op("multiply")
Copy link
Member

Choose a reason for hiding this comment

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

looks these comments are not necessary

@Sun2018421
Copy link
Author

I'm very sorry. This is my first PR, and i want to PR to the branch forked by my classmate for further modification. This was a wrong operation. I apologize again.

@Sun2018421 Sun2018421 closed this Mar 4, 2023
@yongwww
Copy link
Member

yongwww commented Mar 4, 2023

I'm very sorry. This is my first PR, and i want to PR to the branch forked by my classmate for further modification. This was a wrong operation. I apologize again.

Thanks for the contribution! No worries at all, welcome to send it out if it's ready!

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