We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import paddle import numpy as np print(paddle.__version__) paddle.set_device("cpu") x = paddle.to_tensor([complex(float('nan'), 0), complex(0, float('nan')), complex(float('nan'), float('nan'))], dtype=paddle.complex128) out = paddle.asin(x).numpy() print("CPU Output:", out) np_out = np.arcsin(np.array([complex(np.nan, 0), complex(0, np.nan), complex(np.nan, np.nan)], dtype='complex128')) print("Numpy Output:", np_out)
以上代码在windows10操作系统上所输出的结果为:
2.6.2 CPU Output: [nan+nanj nan+nanj nan+nanj] Numpy Output: [nan+nanj 0.+nanj nan+nanj]
计算结果与Numpy计算结果不同 当我尝试在colab中复现结果,输出的结果却不同,colab中的系统为 Ubuntu 22.04.3 LTS (x86_64)
2.6.2 CPU Output: [nan+nanj 0.+nanj nan+nanj] Numpy Output: [nan+nanj 0.+nanj nan+nanj]
No response
The text was updated successfully, but these errors were encountered:
你好,我们看下问题,稍后回复您。
Sorry, something went wrong.
在最近的3.0.0-beta2版本上,windows系统中仍然可以复现该问题
好的,感谢反馈。该问题已反馈给负责同事,稍后我们将修复该问题。@wtmlon
liym27
No branches or pull requests
bug描述 Describe the Bug
以上代码在windows10操作系统上所输出的结果为:
计算结果与Numpy计算结果不同
当我尝试在colab中复现结果,输出的结果却不同,colab中的系统为 Ubuntu 22.04.3 LTS (x86_64)
其他补充信息 Additional Supplementary Information
No response
The text was updated successfully, but these errors were encountered: