Closed johan-sightic closed 4 months ago
Hi! Signatures are supported since v0.15.0
, see example. Note: you'll have to use TFLiteConverterV2
, not the old TFLiteConverter
.
Perfect, thank you!
tensorflow.lite.TFLiteConverter
points to TFLiteConverterV2
in my tensorflow version (2.15.0)
I have a pytorch model that returns a
dict[str, torch.Tensor]
type with 5 keys and tensors and I use nobuco to convert it to tflite. Conversion works fine, however, the output of the tflite model is now a dict with different keys. The signature of the tflite model is:How can I change the output keys to match my original model? Thanks!