facebookarchive/caffe2

Segfaults if GivenTensorFill shape doesn't match actual floats

Open

#1,426 创建于 2017年11月3日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Shell (8,424 star) (1,954 fork)batch import
bughelp wanted

描述

It shouldn't do that.

Repro steps:

  1. Make a GivenTensorFill. Set its shape to something big, give it only one value in floats
  2. Run it

Expected result: validation failure Actual result: segfault

贡献者指南