Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mertalev committed Feb 3, 2024
1 parent bb56bd3 commit 073965c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion machine-learning/app/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from onnx.shape_inference import infer_shapes_path
from onnx.tools.update_model_dims import update_inputs_outputs_dims
from typing_extensions import Buffer

import ann.ann
from app.models.constants import STATIC_INPUT_PROVIDERS, SUPPORTED_PROVIDERS

Expand Down Expand Up @@ -145,7 +146,7 @@ def _convert_to_static(self, source_path: Path, target_path: Path) -> None:
# check_model gets called in update_inputs_outputs_dims
check_model = onnx.checker.check_model
try:

def check_model_stub(*args: Any, **kwargs: Any) -> None:
pass

Expand Down

0 comments on commit 073965c

Please sign in to comment.