tflite-micro/python
Ryan Kuester c28b493d5e
feat(python): don't check .sparsity in interpreter (#2944)
Remove the check for sparse tensors in the Python interpreter wrapper.
This fixes a broken build when TF_LITE_STATIC_MEMORY is set, which
should always be the case in TFLM. TfLiteTensor objects don't have a
.sparsity member when TF_LITE_STATIC_MEMORY is set, so this check
can't be made.

This prepares for an upcoming commit setting TF_LITE_STATIC_MEMORY
during Bazel builds. This hasn't caused build failures in Make builds,
which have always set TF_LITE_STATIC_MEMORY, because Make builds don't
build the Python interpreter wrapper.

BUG=#2636
2024-11-27 19:47:20 +00:00
..
tests ci(bazel): simplify scripts and configuration in advance of additions (#2918) 2024-11-21 10:38:16 -08:00
tflite_micro feat(python): don't check .sparsity in interpreter (#2944) 2024-11-27 19:47:20 +00:00
BUILD
py_namespace.bzl feat: build and test a Python distribution package tflite_micro (#2151) 2023-08-01 22:27:53 +00:00
py_pkg_cc_deps.bzl