-
- All Implemented Interfaces:
-
java.lang.AutoCloseable
public final class Fixture implements AutoCloseable
Read-only, thread-safe, refcounted .imx fixture.
Construct once per avatar and share across many Runtime instances for memory efficiency (1 fixture + N runtimes per the v0.19 shared-fixture pattern).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classFixture.Companion
-
Field Summary
Fields Modifier and Type Field Description private final FixtureInfoinfo
-
Constructor Summary
Constructors Constructor Description Fixture(String path, ExecutionProvider preferredEP, Integer intraOpThreads)
-
Method Summary
-
-
Constructor Detail
-
Fixture
Fixture(String path, ExecutionProvider preferredEP, Integer intraOpThreads)
- Parameters:
path- absolute filesystem path to the.imxarchive.preferredEP- execution provider — ExecutionProvider.CPU is the canonical bit-exact baseline; ExecutionProvider.AUTO/ExecutionProvider.NNAPI/ExecutionProvider.QNN are perf opt-ins (gated by drift check inside the library).intraOpThreads- ORT intra-op thread pool size.
-
-
-
-