Exposing TFLite entry points with Python

I’m interested in hooking into some of the simple TFLite reference functions from Python directly in order to explore their behavior. For example, if I’d like to call the function


defined here:

from Python, is there a relatively straightforward way to add a new cmake target to expose this function directly with pybind11? I’m building tensorflow from source and compiling it using cmake

tensorflow/lite/tools/pip_package/build_pip_package_with_cmake.sh native

Any guidance would be appreciated!