This package builds TensorFlow Lite (TFLite) using CMake from fixed revisions from master (internally tagged v2.3.90
, v2.3.91
, etc).
Version | Revision |
---|---|
v2.3.90 |
5c1c1085fe331de3 |
v2.3.91 |
8a643858ce174b8b |
Build TFLite with one of the supported backends:
$ ck install package --tags=lib,tflite,v2.3.90,with.eigen
$ ck install package --tags=lib,tflite,v2.3.90,with.ruy
$ ck install package --tags=lib,tflite,v2.3.90,with.xnnpack
$ ck install package --tags=lib,tflite,v2.3.90,with.xnnpack,with.ruy
NB: Optionally, to restrict the number of CPU cores used to build, append
--env.CK_HOST_CPU_NUMBER_OF_PROCESSORS=X
to the command (where X
is the
number of cores to use).
NB: When building on Raspberry Pi 4 with 32-bit Debian, additionally specify rpi4
e.g.:
$ ck install package --tags=lib,tflite,v2.3.91,with.ruy,rpi4 --env.CK_HOST_CPU_NUMBER_OF_PROCESSORS=3