ATen icon indicating copy to clipboard operation
ATen copied to clipboard

Should be able to reduce over size {0} dimensions.

Open gchanan opened this issue 6 years ago • 0 comments

This currently fails, but should pass:

      Type & T = CPU(kFloat);
      auto t = T.ones({0});
      // FIXME: you should be able to reduce over size {0}
      try {
        t.sum(0);
        assert(false);
      } catch (std::runtime_error &e) {}
    }

gchanan avatar Oct 26 '17 22:10 gchanan