Open Some-random opened 3 years ago
I have met a similar problem when I use TF-TRT and saved_model_cli to convert a saved model. These two methods failed when using Embedding layer. https://stackoverflow.com/questions/67085221/failed-to-use-tf-trt-when-using-tf-keras-layers-embedding
We're having issue transforming tensorflow model (with embedding) to try. But the following error occurred.
It seems to indicate we should pass a float variable to tf.keras.layers.embedding but the input to embedding layer should be integers...