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
flow.nn.avg_pool2d crashes when its input is an empty tensor.
import oneflow as flow oneflow.nn.functional.avg_pool2d(input=oneflow.ones([]), kernel_size=1, stride=1)
python3 -m oneflow --doctor
path: ['*/temp/oneflow-1.0.0/python/oneflow'] version: 0.9.0 git_commit: 381b12c cmake_build_type: Release rdma: True mlir: True
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Summary
flow.nn.avg_pool2d crashes when its input is an empty tensor.
Code to reproduce bug
System Information
python3 -m oneflow --doctor
):The text was updated successfully, but these errors were encountered: