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

paddle.incubate.nn.attn_biasLowerTriangularMask()不响应set_default_dtype() #70018

Open
rookieLiu2018 opened this issue Dec 6, 2024 · 0 comments
Assignees

Comments

@rookieLiu2018
Copy link

bug描述 Describe the Bug

import paddle
import paddle.incubate.nn.attn_bias as att
paddle.set_default_dtype('float64')
mask = att.LowerTriangularMask()
tensor = mask.materialize((3, 3))
print(tensor.dtype)

output:

paddle.float32

其他补充信息 Additional Supplementary Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants