No quantized type support for Enter/Exit Op
can i work on this ? Hi @CuiYifeng ,

I have replicated the behaviour with Tf2.14.rc0. But with Tf2.12v it working fine. Attached [gist](https://colab.sandbox.google.com/gist/SuryanarayanaY/aba44286fab30dae78b84060d463fbae/61761_2-12-vs-2-14.ipynb) for reference.

It seems a regression issue for me. Need to check with Dev team.Thanks! > Hi @CuiYifeng ,
> 
> I have replicated the behaviour with Tf2.14.rc0. But with Tf2.12v it working fine. Attached [gist](https://colab.sandbox.google.com/gist/SuryanarayanaY/aba44286fab30dae78b84060d463fbae/61761_2-12-vs-2-14.ipynb) for reference.
> 
> It seems a regression issue for me. Need to check with Dev team.Thanks!

Hi @SuryanarayanaY , thanks for your reply. Do you plan to fix this issue for TF-2.14 release? Are you satisfied with the resolution of your issue?
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61761">Yes</a>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61761">No</a>
 @CuiYifeng,
I tried to execute the mentioned code on tf-nightly(2.16.0-dev20240129) and it was executed without any issue and the output was also as expected. Kindly find the [gist](https://colab.research.google.com/gist/tilakrayal/924d0f8fa4254bb6a248f0946c193429/untitled.ipynb) of it [here](https://colab.sandbox.google.com/gist/tilakrayal/122b9a07288f59b25577b6438d64c997/untitled1700.ipynb).

Also the related PR https://github.com/tensorflow/tensorflow/pull/62619 is also merged. Thank you!



 @tilakrayal I also tried the case with tf-nightly mentioned and the case passed. Thanks for your information! Are you satisfied with the resolution of your issue?
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61761">Yes</a>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61761">No</a>

### Issue type

Bug

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

Yes

### Source

binary

### TensorFlow version

2.14.0rc0

### Custom code

No

### 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?

Quantized types such as QINT8/QUINT8 are not registered for Enter/Exit.

Furthermore, why are some Control Flow Ops registered on `CPU Device` (e.g. `Merge/Switch/LoopCond`) but others not (e.g. `Enter/Exit/NextIteration`) ? 

Are these expected?

### Standalone code to reproduce the issue

```shell
import tensorflow as tf
import numpy as np

x = tf.constant(np.ones((5, 6)), dtype=tf.qint8)
enter = tf.raw_ops.Enter(data=x, frame_name="test", is_constant=True)
```


### Relevant log output

```shell
tensorflow.python.framework.errors_impl.NotFoundError: Could not find device for node: {{node Enter}} = Enter[T=DT_QINT8, frame_name="test", is_constant=true, parallel_iterations=10]
All kernels registered for op Enter:
  device='DEFAULT'; T in [DT_RESOURCE]
  device='DEFAULT'; T in [DT_STRING]
  device='DEFAULT'; T in [DT_INT32]
  device='DEFAULT'; T in [DT_VARIANT]
  device='DEFAULT'; T in [DT_BOOL]
  device='DEFAULT'; T in [DT_COMPLEX128]
  device='DEFAULT'; T in [DT_COMPLEX64]
  device='DEFAULT'; T in [DT_INT8]
  device='DEFAULT'; T in [DT_UINT8]
  device='DEFAULT'; T in [DT_INT16]
  device='DEFAULT'; T in [DT_UINT16]
  device='DEFAULT'; T in [DT_UINT32]
  device='DEFAULT'; T in [DT_INT64]
  device='DEFAULT'; T in [DT_UINT64]
  device='DEFAULT'; T in [DT_DOUBLE]
  device='DEFAULT'; T in [DT_FLOAT]
  device='DEFAULT'; T in [DT_BFLOAT16]
  device='DEFAULT'; T in [DT_HALF]
  device='GPU'; T in [DT_RESOURCE]
  device='GPU'; T in [DT_STRING]
  device='GPU'; T in [DT_INT32]
  device='GPU'; T in [DT_VARIANT]
  device='GPU'; T in [DT_BOOL]
  device='GPU'; T in [DT_COMPLEX128]
  device='GPU'; T in [DT_COMPLEX64]
  device='GPU'; T in [DT_INT8]
  device='GPU'; T in [DT_UINT8]
  device='GPU'; T in [DT_INT16]
  device='GPU'; T in [DT_UINT16]
  device='GPU'; T in [DT_UINT32]
  device='GPU'; T in [DT_INT64]
  device='GPU'; T in [DT_UINT64]
  device='GPU'; T in [DT_DOUBLE]
  device='GPU'; T in [DT_FLOAT]
  device='GPU'; T in [DT_BFLOAT16]
  device='GPU'; T in [DT_HALF]
  device='TPU'
  device='TPU_SYSTEM'
```
