Skip to content

Commit

Permalink
Use Optional[int] instead of int | None for pre 3.10 python
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 707981187
  • Loading branch information
joezoug authored and copybara-github committed Dec 19, 2024
1 parent e2f9635 commit 0cd1f15
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ def export_model(
self,
model_name: str = "model.tflite",
quantization_config: Optional[quantization.QuantizationConfig] = None,
batch_size: int | None = None,
batch_size: Optional[int] = None,
):
"""Converts and saves the model to a TFLite file with metadata included.
Expand Down

0 comments on commit 0cd1f15

Please sign in to comment.