mirror of
https://github.com/immich-app/immich.git
synced 2026-02-13 04:17:56 +03:00
this duplicated?
This commit is contained in:
@@ -362,7 +362,7 @@ class TestRknnSession:
|
||||
[mock.call(f"Loaded RKNN model from {str(model_path).replace("model","rk3566")} with {tpe} threads.")]
|
||||
)
|
||||
|
||||
def test_run(self, rknn_session: mock.Mock, mocker: MockerFixture) -> None:
|
||||
def test_run_rknn(self, rknn_session: mock.Mock, mocker: MockerFixture) -> None:
|
||||
rknn_session.return_value.load.return_value = 123
|
||||
np_spy = mocker.spy(np, "ascontiguousarray")
|
||||
mocker.patch("app.sessions.rknn.soc_name", "rk3566")
|
||||
|
||||
Reference in New Issue
Block a user