Skip to content

Commit fc0a507

Browse files
sineelifyangf
andauthored
Internal fix (#10895)
PiperOrigin-RevId: 495785944 Co-authored-by: Fan Yang <fyangf@google.com>
1 parent 1a6bc17 commit fc0a507

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

official/vision/serving/export_tflite_lib.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def convert_tflite_model(saved_model_dir: str,
9090
params: Optional[cfg.ExperimentConfig] = None,
9191
task: Optional[base_task.Task] = None,
9292
calibration_steps: Optional[int] = 2000,
93-
denylisted_ops: Optional[list[str]] = None) -> bytes:
93+
denylisted_ops: Optional[List[str]] = None) -> 'bytes':
9494
"""Converts and returns a TFLite model.
9595
9696
Args:

0 commit comments

Comments
 (0)