|
converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS_INT8] |
|
converter.optimizations = [tf.lite.Optimize.DEFAULT] |
|
converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS, tf.lite.OpsSet.SELECT_TF_OPS] |
The second assignment to converter.target_spec.supported_ops supersedes the first one that contains the int8 flag