facebookarchive/caffe2
View on GitHubSegfaults if GivenTensorFill shape doesn't match actual floats
Open
#1,426 opened on Nov 3, 2017
bughelp wanted
Repository metrics
- Stars
- (8,424 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
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