message: Fixes an asan error in spacetobatch_op_test_cpu
diff: @@ -2164,8 +2164,10 @@ namespace {
  template <typename InputType>
  std::vector<int64> GetFlatInt64(const Tensor& t) {
  std::vector<int64> output(t.shape().num_elements());
  + if (t.shape().num_elements() > 0) {
  auto eigen_vec = t.flat<InputType>();
  std::copy_n(&eigen_vec(0), output.size(), output.begin());
  + }
  return output;
  }
  