https://github.com/nnstreamer/hal-api-ml
https://github.com/nnstreamer/hal-api-ml
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nnstreamer/hal-api-ml
- Owner: nnstreamer
- License: apache-2.0
- Created: 2025-01-14T10:21:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-01-16T07:41:43.000Z (5 months ago)
- Last Synced: 2026-01-16T22:43:31.518Z (5 months ago)
- Language: C
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 11
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# HAL ML API Overview
## Introduction
The HAL ML API provides an interface for [Tizen's higher-level Machine Learning API](https://docs.tizen.org/application/native/guides/machine-learning/overview) to interact with various hardware acceleration devices (e.g., NPUs, GPUs, DSPs) via [HAL ML Accelerator Backends](https://github.com/nnstreamer/hal-backend-ml-accelerator). **Users would not use this directly**, it is used in implementation of [NNStreamer](https://github.com/nnstreamer/nnstreamer)'s `tensor_filter` sub-plugin which is backend of Tizen ML API.
## Architecture
```mermaid
graph TD
subgraph TF["Tizen Framework"]
A["Tizen ML API"]
end
subgraph HM["HAL API ML"]
D["Tizen HAL API for ML"]
end
subgraph HBMA["HAL Backend ML Accelerator"]
E["backend for each vendor"]
end
subgraph MA["Device"]
CPU
GPU
NPU
DSP
end
TF <--> HM <--> HBMA <--> MA
style TF fill:#68b,color:#000,stroke:#000
style HM fill:#68b,color:#000,stroke:#000
style HBMA fill:#68b,color:#000,stroke:#000
style MA fill:#68b,color:#000,stroke:#000
style A fill:#fff,color:#000,stroke:#000
style D fill:#fff,color:#000,stroke:#000
style E fill:#fff,color:#000,stroke:#000
style CPU fill:#fff,color:#000,stroke:#000
style GPU fill:#fff,color:#000,stroke:#000
style NPU fill:#fff,color:#000,stroke:#000
style DSP fill:#fff,color:#000,stroke:#000
```
## License
This project is licensed under the Apache License, Version 2.0. See the [LICENSE](LICENSE) file for details.