Change supported_ops to a Tuple instead of List to match the API definition.

PiperOrigin-RevId: 557890361
This commit is contained in:
MediaPipe Team 2023-08-17 11:46:32 -07:00 committed by Copybara-Service
parent 990bfd2e3e
commit b213256cbd

View File

@ -241,10 +241,11 @@ class FaceStylizer(object):
face_stylizer_model_buffer = model_util.convert_to_tflite(
model=model,
supported_ops=[
quantization_config=None,
supported_ops=(
tf.lite.OpsSet.TFLITE_BUILTINS,
tf.lite.OpsSet.SELECT_TF_OPS,
],
),
preprocess=self._preprocessor,
)