Open x0w3n opened 5 months ago
flow.nn.avg_pool1d crashes when its input is an empty tensor.
import oneflow as flow oneflow.nn.functional.avg_pool1d(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
Summary
flow.nn.avg_pool1d crashes when its input is an empty tensor.
Code to reproduce bug
System Information
python3 -m oneflow --doctor
):