Open
Description
The switch from Keras 2 to Keras 3 in Tensorflow 2.16 apparently breaks tf2onnx
:
import tf2onnx
...
onnx_model, _ = tf2onnx.convert.from_keras(model)
# AttributeError: ... object has no attribute '_get_save_spec'
This is probably the same issue people are seeing with tf.lite.TFLiteConverter
since Keras 3:
keras-team/keras#18430
Is there an alternative route like tf2onnx.convert.from_function
we could use as a workaround?