Could not find device for node GenerateBoundingBoxProposals
@sachinprasadhs,
I was able to reproduce the issue on tensorflow v2.15 and tf-nightly. Kindly find the gist of it [here](https://colab.sandbox.google.com/gist/tilakrayal/5ee8137476e04b096fbfbb5f6b3c21c6/untitled1730.ipynb). @drewshark TensorFlow Nightly can potentially resolve this issue as the bug fix might be included there.
### Issue type

Bug

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

Yes

### Source

source

### TensorFlow version

2.15.0

### Custom code

Yes

### OS platform and distribution

_No response_

### Mobile device

_No response_

### Python version

_No response_

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

When using tf.image.generate_bounding_box_proposals in CPU, it raises the following error: 

```
NotFoundError: Could not find device for node: {{node GenerateBoundingBoxProposals}} = GenerateBoundingBoxProposals[post_nms_topn=300]
All kernels registered for op GenerateBoundingBoxProposals:
  device='GPU'
 [Op:GenerateBoundingBoxProposals] name: 
```

### Standalone code to reproduce the issue

```shell
import tensorflow as tf

scores = tf.constant([[0.9, 0.8, 0.7], [0.6, 0.5, 0.4]])
bbox_deltas = tf.constant([[1, 1, 1, 1], [2, 2, 2, 2]])
image_info = tf.constant([100, 100, 1])
anchors = tf.constant([[10, 10, 20, 20], [30, 30, 40, 40], [50, 50, 60, 60]])

result = tf.image.generate_bounding_box_proposals(scores, bbox_deltas, image_info, anchors)

print(result)
```


### Relevant log output

_No response_