intel / nn-hal

44 stars 51 forks source link

DISCONTINUATION OF PROJECT

This project will no longer be maintained by Intel.
Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project.
Intel no longer accepts patches to this project.
If you have an ongoing need to use this project, are interested in independently developing it, or would like to maintain patches for the open source software community, please create your own fork of this project.

CI

Android Neural Networks HAL with OpenVINO supporting hardware accelerators such as /

Intel® Math Kernel Library for Deep Neural Networks (Intel® MKL-DNN)

Introduction

The Android Neural Network Hardware Abstraction Layer(NN HAL) provides the hardware accelration for Android Neural Networks (NN) API. Intel NN-HAL takes the advantage of the Intel MKLD-DNN, enables high performance and low power implementation of Neural Networks API. Intel MKL-DNN https://github.com/intel/mkl-dnn & https://01.org/mkl-dnn Android NN API is on [Neural Networks API] (https://developer.android.com/ndk/guides/neuralnetworks/index.html). OpenVINO deep learning framework https://github.com/opencv/dldt & https://01.org/openvinotoolkit

Supported Operations

Following operations are currently supported by Android Neural Networks HAL for Intel MKL-DNN.

Known issues

Support for Multiple Tensor inputs at runtime to model/network is ongoing

License

Android Neural Networks HAL is distributed under the Apache License, Version 2.0 You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0 Intel® Math Kernel Library for Deep Neural Networks (Intel® MKL-DNN) is an open source performance library for Deep Learning (DL) applications intended for acceleration of DL frameworks on Intel® architecture.

How to provide feedback

By default, please submit an issue using native github.com interface: https://github.com/intel/nn-hal/issues

How to contribute

Create a pull request on github.com with your patch. Make sure your change is cleanly building and passing ULTs.

A maintainer will contact you if there are questions or concerns.

Continuous Integration

Before committing any changes, make sure the coding style and testing configs are correct. If not, the CI will fail.

Coding Style

Run the following command to ensure that the proper coding style is being followed:

    find . -regex '.*\.\(cpp\|hpp\|cc\|cxx\|h\)' -exec clang-format -style=file -i {} \;

Build and Test

Update the BOARD value in build-test.sh as per your test requirement. If your BOARD is not supported, please contact the maintainer to get it added.

Currently, the CI builds the intel-nnhal package and runs the following tests: