Skip to content

Add arc hyperbolic function op #37076

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

Merged
merged 7 commits into from
Dec 16, 2021
Merged

Conversation

tink2123
Copy link
Contributor

@tink2123 tink2123 commented Nov 9, 2021

PR types

New features

PR changes

OPs

Describe

Add Acosh Asinh Atanh op

example:

  # asinh
  x = paddle.to_tensor([-0.4, -0.2, 0.1, 0.3])
  out = paddle.asinh(x)
  print(out)
  # [-0.39003533, -0.19869010,  0.09983408,  0.29567307]
  
  # acosh
  x = paddle.to_tensor([1., 3., 4., 5.])
  out = paddle.acosh(x)
  print(out)
  # [0.        , 1.76274729, 2.06343699, 2.29243159]


  # atanh
  x = paddle.to_tensor([-0.4, -0.2, 0.1, 0.3])
  out = paddle.atanh(x)
  print(out)
  # [-0.42364895, -0.20273256,  0.10033535,  0.30951962]

@paddle-bot-old
Copy link

paddle-bot-old bot commented Nov 9, 2021

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

@paddle-bot-old
Copy link

Sorry to inform you that a9493fa's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

Copy link
Contributor

@jeff41404 jeff41404 left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Member

@ZeyuChen ZeyuChen left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@XiaoguangHu01 XiaoguangHu01 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@TCChenlong TCChenlong left a comment

Choose a reason for hiding this comment

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

LGTM

@tink2123 tink2123 merged commit 36b7368 into PaddlePaddle:develop Dec 16, 2021
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.

5 participants