Initial Commit
- initial default booting image
This commit is contained in:
38
package/tensorflow-lite/Config.in
Normal file
38
package/tensorflow-lite/Config.in
Normal file
@@ -0,0 +1,38 @@
|
||||
config BR2_PACKAGE_TENSORFLOW_LITE_ARCH_SUPPORTS
|
||||
bool
|
||||
default y if BR2_aarch64
|
||||
default y if BR2_arm
|
||||
default y if BR2_i386
|
||||
default y if BR2_x86_64
|
||||
depends on BR2_PACKAGE_CPUINFO_ARCH_SUPPORTS
|
||||
|
||||
config BR2_PACKAGE_TENSORFLOW_LITE
|
||||
bool "tensorflow-lite"
|
||||
depends on BR2_PACKAGE_TENSORFLOW_LITE_ARCH_SUPPORTS
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # libabseil-cpp
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # cpuinfo
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||
depends on BR2_SHARED_LIBS
|
||||
select BR2_PACKAGE_CPUINFO
|
||||
select BR2_PACKAGE_EIGEN
|
||||
select BR2_PACKAGE_FARMHASH
|
||||
select BR2_PACKAGE_FFT2D
|
||||
select BR2_PACKAGE_FLATBUFFERS
|
||||
select BR2_PACKAGE_GEMMLOWP
|
||||
select BR2_PACKAGE_LIBABSEIL_CPP
|
||||
select BR2_PACKAGE_NEON_2_SSE
|
||||
select BR2_PACKAGE_RUY if BR2_PACKAGE_RUY_ARCH_SUPPORTS
|
||||
select BR2_PACKAGE_XNNPACK if BR2_PACKAGE_XNNPACK_ARCH_SUPPORTS
|
||||
help
|
||||
Tensorflow Lite dynamic library and headers: Inference engine
|
||||
to run previously trained machine learning models.
|
||||
|
||||
https://www.tensorflow.org/
|
||||
|
||||
comment "tensorflow-lite needs a toolchain w/ gcc >= 8, C++, threads"
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_8 || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
comment "tensorflow-lite needs a toolchain w/ shared libraries"
|
||||
depends on !BR2_SHARED_LIBS
|
||||
Reference in New Issue
Block a user