Skip to end of banner
Go to start of banner

Tensorflow Lite

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

TensorFlow is an AI/ML framework for training and using neural networks. Tensorflow Lite is designed as a smaller subset of Tensorflow aimed at deployment on mobile and edge devices.

Requirements

Steps

  • Make sure to set the environment variables BAZEL_LLVM, BAZEL_VC and TF_PYTHON_VERSION to the respective proper directories on your system as well as the Python version you are using.

  • Go to the XNNPACK folder and open the WORKSPACE file. Fix the directory of the local repositories to match to your own clones of pthreadpool and cpuinfo. Do the same for Tensorflow under tensorflow\workspace2.bzl

  • Now run

    bazel.exe build //tensorflow/lite:tensorflowlite --cpu=arm64_windows --compiler=clang-cl --copt="/clang:-march=armv8-a+dotprod+fp16+i8mm" --cxxopt="/clang:-march=armv8-a+dotprod+fp16+i8mm"
  • You will find tensorflow.dll inside the bazel-bin\tensorflow directory

  • No labels