• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 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 = "ade87358f2231f4d079449cbbc047c17db5a4d5cedbc230b2795adc1116e2fa5",
11        urls = [
12            "https://storage.googleapis.com/mirror.tensorflow.org/storage.cloud.google.com/download.tensorflow.org/tflite/hexagon_nn_headers_v1.20.0.2.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.2.tgz",
15        ],
16        build_file = "//third_party/hexagon:BUILD",
17    )
18