Aborted (core dumped) with `tf.raw_ops.LRNGrad`
Hi **@LongZE666** ,

I tried to run your code on colab using TF v2.16.1, nightly and faced the same issue. Please find the [gist](https://colab.sandbox.google.com/gist/Venkat6871/3e61e4933bd91cf66a9d0dfa8e747b96/66761_2-16-1-nightly.ipynb) here for reference.


Thank you!
### Issue type

Bug

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

Yes

### Source

source

### TensorFlow version

tf 2.16.1

### Custom code

Yes

### OS platform and distribution

Ubuntu 20.04

### Mobile device

_No response_

### Python version

3.11

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

If  the dimension of `output_image` is less than `input_grads` and `input_image`, tf.raw_ops.tf.raw_ops.LoadAndRemapMatrix encounters "Aborted (core dumped)".

### Standalone code to reproduce the issue

```shell
# LRNGradOp

import tensorflow as tf

depth_radius = 1
bias = 1.59018219
alpha = 0.117728651
beta = 0.404427052
input_grads = tf.constant([], shape=[0,0,0,0], dtype=tf.float32)
input_image = tf.constant([], shape=[0,0,0,0], dtype=tf.float32)
output_image = tf.constant([], shape=[0], dtype=tf.float32)
tf.raw_ops.LRNGrad(input_grads=input_grads, input_image=input_image, output_image=output_image, depth_radius=depth_radius, bias=bias, alpha=alpha, beta=beta)
```


### Relevant log output

```shell
2024-05-01 03:28:07.055077: F tensorflow/core/framework/tensor_shape.cc:357] Check failed: d < dims() (1 vs. 1)
Aborted (core dumped)
```
