Issue OS
System Information:

OS Platform and Distribution: Linux Ubuntu 18.04
TensorFlow installed from: TensorFlow binary
TensorFlow version: 2.5.0 Issue Description:

When trying to convert a TensorFlow model to a TensorFlow Lite model using the tflite_convert command, I am getting an error message saying "ValueError: The requested operation is not available." I am using the following command: 

tflite_convert --saved_model_dir=/path/to/saved_model --output_file=/path/to/output.tflite
 Output of tflite_convert:

output of tflite_convert here Standalone Code:

include a minimal reproducible code snippet here that demonstrates the issue Additional Information:

Attached is the saved_model directory I am using for the conversion
The TensorFlow model was trained using TensorFlow version 2.4.0
I have also tried converting the model using the --enable_v1_converter flag, but I still get the same error message. With this information, it would be easier for someone to help diagnose the issue and provide a solution. Hi @hartpoli Thanks for reporting the issue.

Could you please provide a toy model to reproduce the issue, else it is hard to debug from the error.

Also, can you check in latest TF 2.12 and see if the issue still exists?

Thanks. This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further. 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/60194">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/60194">No</a>

desc: