Fix Smart Search when using OpenVINO (#7389)

* Fix external_path loading in OpenVINO EP

* Fix ruff lint

* Wrap block in try finally

* remove static input shape code

* add unit test

* remove unused imports

* remove repeat line

* linting

* formatting

---------

Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
This commit is contained in:
Sourav Agrawal 2024-02-25 04:52:27 +05:30 committed by GitHub
parent 912d723281
commit 2a75f884d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 41 additions and 64 deletions

View file

@ -1 +0,0 @@
from .ann import Ann, is_available

View file

@ -32,8 +32,7 @@ T = TypeVar("T", covariant=True)
class Newable(Protocol[T]):
def new(self) -> None:
...
def new(self) -> None: ...
class _Singleton(type, Newable[T]):