tflite-micro/tensorflow/lite/micro/python/interpreter/src
Ryan Kuester 17aae9e35d
build: add means of linking with C libs in Py packages (#1668)
Extend the Python repository_rule used to create external repositories, adding targets for C-language binary libraries shipped inside Python packages; e.g., that shipped in package tensorflow-gpu.

These targets are to be used as dependencies by C-language targets.

Note: when debugging the build, it can be helpful to examine the repository directory and BUILD file this repository_rule generates in the bazel cache.

Begin using a python/ directory at the root of the project for code that is specific to Python.

Upgrade to the latest version of rules_python first. Note that the unit test to keep requirements.in and requirements.txt is disabled (specifically with 
ec6bdc5d4443285d28a44076f06c203d9582e4a1)

Add a unit test for this feature.

BUG=see description
2023-03-05 06:25:58 +00:00
..
BUILD build: add means of linking with C libs in Py packages (#1668) 2023-03-05 06:25:58 +00:00
interpreter_wrapper.cc Add RecordingMicroAllocator to python interpreter (#1485) 2022-10-21 11:46:49 -07:00
interpreter_wrapper.h Add RecordingMicroAllocator to python interpreter (#1485) 2022-10-21 11:46:49 -07:00
interpreter_wrapper_pybind.cc Add RecordingMicroAllocator to python interpreter (#1485) 2022-10-21 11:46:49 -07:00
numpy_utils.cc Manual sync from upstream 2022-10-12 01:37:55 +00:00
numpy_utils.h
pybind11_lib.h Access input/output tensor details from python 2022-09-19 23:15:09 +00:00
python_utils.cc
python_utils.h
shared_library.h
tflm_runtime.py Remove deprecated parameter from TFLM python interpreter (#1799) 2023-03-01 22:01:49 +00:00