facebookarchive/caffe2

Segfaults if GivenTensorFill shape doesn't match actual floats

Open

#1 426 ouverte le 3 nov. 2017

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Shell (8 424 stars) (1 954 forks)batch import
bughelp wanted

Description

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

Guide contributeur