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

linespace op error #8935

Closed
yoonlee888 opened this issue Aug 17, 2022 · 2 comments · Fixed by #8941
Closed

linespace op error #8935

yoonlee888 opened this issue Aug 17, 2022 · 2 comments · Fixed by #8941
Assignees
Labels
bug community events from community

Comments

@yoonlee888
Copy link
Contributor

yoonlee888 commented Aug 17, 2022

pytorch里的linspace支持start和end为scalar,oneflow不支持,报错:`
image

复现例子:

import oneflow as flow

a = flow.tensor(3)
b = flow.tensor(10)
output = flow.linspace(a, b, steps=5)
print(output)
@yoonlee888 yoonlee888 added bug community events from community labels Aug 17, 2022
@chengtbf
Copy link
Contributor

感谢反馈~ 这个问题我们会尽快修复到 nightly oneflow 上

@chengtbf chengtbf linked a pull request Aug 22, 2022 that will close this issue
2 tasks
@chengtbf
Copy link
Contributor

这个问题已经在:

#8941

修复了,您可以使用最新的 nightly 验证一下~

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

Successfully merging a pull request may close this issue.

3 participants