Aborted (core dumped) in tf.raw_ops.SparseMatrixZeros
Hi **@Zoeeeeey** ,

I tried to run your code on colab using tf 2.16.1 and tf-nightly versions faced same issue. Please find the [gist](https://colab.sandbox.google.com/gist/Venkat6871/424d0904418c5a1cd7fcc2a8892a1025/63937_2-16-1-nightly-v.ipynb) here for reference.

Thank you! Hi, thank you for your reply. Indeed, there are crashes happening for unclear reasons, and I believe my inputs are all in compliance with the requirements. Is this an existing bug?
 Additionally, I would like to ask, does the code hint `Aborted (core dumped)` indicate that there is a bug in the current version? @Venkat6871
### Issue type

Bug

### Have you reproduced the bug with TensorFlow Nightly?

No

### Source

binary

### TensorFlow version

tf 2.13

### Custom code

Yes

### OS platform and distribution

Ubuntu 20.04

### Mobile device

_No response_

### Python version

3.8

### Bazel version

_No response_

### GCC/compiler version

7.5.0

### CUDA/cuDNN version

12.0

### GPU model and memory

_No response_

### Current behavior?

Under specific input, `tf.raw_ops.SparseMatrixZeros` encounters "Aborted (core dumped)".
However, the parameters `dense_shape` and `type` meet the requirements in the API documentation. (https://tensorflow.google.cn/api_docs/python/tf/raw_ops/SparseMatrixZeros)

### Standalone code to reproduce the issue

```shell
import tensorflow as tf
import numpy as np
dense_shape=tf.constant(value=np.random.randint(0,100,size=(1, 1)), shape=(1, 1), dtype=tf.int64)
type=tf.float64
name=None
tf.raw_ops.SparseMatrixZeros(dense_shape=dense_shape, type=type, name=name)
```


### Relevant log output

```shell
2024-03-19 02:18:57.223847: F tensorflow/core/framework/tensor_shape.cc:45] Check failed: NDIMS == dims() (1 vs. 2)Asking for tensor of 1 dimensions from a tensor of 2 dimensions
Aborted (core dumped)
```
