xref: /aosp_15_r20/external/tensorflow/third_party/hexagon/workspace.bzl (revision b6fb3261f9314811a0f4371741dbb8839866f948)
1"""Loads the Hexagon NN Header files library, used by TF Lite."""
2
3load("//third_party:repo.bzl", "tf_http_archive")
4
5# Note: Use libhexagon_nn_skel version 1.20.0.1 Only with the current version.
6# This comment will be updated with compatible version.
7def repo():
8    tf_http_archive(
9        name = "hexagon_nn",
10        sha256 = "f577b4c150b72e11e9dfb3f9d14f9772ba8fe460f7d65c84a7327ea9bef44d8e",
11        urls = [
12            "https://storage.googleapis.com/mirror.tensorflow.org/storage.cloud.google.com/download.tensorflow.org/tflite/hexagon_nn_headers_v1.20.0.9.tgz",
13            # Repeated to bypass 'at least two urls' check. TODO(karimnosseir): add original source of this package.
14            "https://storage.googleapis.com/mirror.tensorflow.org/storage.cloud.google.com/download.tensorflow.org/tflite/hexagon_nn_headers_v1.20.0.9.tgz",
15        ],
16        build_file = "//third_party/hexagon:BUILD",
17    )
18