Make :data() on an empty Tensor return nil rather than segfault.