mirror of
https://github.com/immich-app/immich.git
synced 2025-07-08 10:44:15 -04:00
this duplicated?
This commit is contained in:
parent
0f03f77e8e
commit
b5a4ed5160
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user