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
修改: 1.在源文件261行前加入: while pad_size > in_f : x = torch.cat([x, x[..., :]], dim=-1) pad_size-=in_f 这是由于没考虑pad_size > in_f得情况导致。
2.在源文件293行代码替换为: if out_x.numel() == 0: out_x = out_x.view(*x.shape[:-1], out_f) else : out_x = out_x.view(*x.shape[:-1], -1)[..., :out_f] 这是由于未考虑 out_x 中element=0得情况。
The text was updated successfully, but these errors were encountered:
感谢您的反馈,不过您提到的情况都比较特殊。
pad_size>in_f
r
in_f
Sorry, something went wrong.
No branches or pull requests
修改:
1.在源文件261行前加入:
while pad_size > in_f :
x = torch.cat([x, x[..., :]], dim=-1)
pad_size-=in_f
这是由于没考虑pad_size > in_f得情况导致。
2.在源文件293行代码替换为:
if out_x.numel() == 0:
out_x = out_x.view(*x.shape[:-1], out_f)
else :
out_x = out_x.view(*x.shape[:-1], -1)[..., :out_f]
这是由于未考虑 out_x 中element=0得情况。
The text was updated successfully, but these errors were encountered: