facebookarchive/caffe2
在 GitHub 查看Segfaults if GivenTensorFill shape doesn't match actual floats
Open
#1,426 创建于 2017年11月3日
bughelp wanted
描述
It shouldn't do that.
Repro steps:
- Make a GivenTensorFill. Set its shape to something big, give it only one value in floats
- Run it
Expected result: validation failure Actual result: segfault