未验证 提交 fc0a5072 编写于 作者: S sineeli 提交者: GitHub

Internal fix (#10895)

PiperOrigin-RevId: 495785944
Co-authored-by: NFan Yang <fyangf@google.com>
上级 1a6bc171
...@@ -90,7 +90,7 @@ def convert_tflite_model(saved_model_dir: str, ...@@ -90,7 +90,7 @@ def convert_tflite_model(saved_model_dir: str,
params: Optional[cfg.ExperimentConfig] = None, params: Optional[cfg.ExperimentConfig] = None,
task: Optional[base_task.Task] = None, task: Optional[base_task.Task] = None,
calibration_steps: Optional[int] = 2000, calibration_steps: Optional[int] = 2000,
denylisted_ops: Optional[list[str]] = None) -> bytes: denylisted_ops: Optional[List[str]] = None) -> 'bytes':
"""Converts and returns a TFLite model. """Converts and returns a TFLite model.
Args: Args:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册