feat(ml): conditionally download .armnn models (#6650)

This commit is contained in:
Mert
2024-01-28 10:31:59 -05:00
committed by GitHub
parent fa0913120d
commit a84b6f5fb1
5 changed files with 127 additions and 38 deletions

View File

@ -26,6 +26,11 @@ class ModelType(str, Enum):
FACIAL_RECOGNITION = "facial-recognition"
class ModelRuntime(str, Enum):
ONNX = "onnx"
ARMNN = "armnn"
class HasProfiling(Protocol):
profiling: dict[str, float]