facebookarchive/caffe2

Segfaults if GivenTensorFill shape doesn't match actual floats

Open

#1,426 建立於 2017年11月3日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Shell (1,954 fork)batch import
bughelp wanted

倉庫指標

Star
 (8,424 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南