Observed since 21 Oct, 10:37 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
ai-edge-model-explorer-adapter
Model Explorer backend adapter for model conversion
The Model Explorer Adapter provides graph extraction and visualization conversion for ML models (TensorFlow SavedModel, GraphDef, FlatBuffer/LiteRT, StableHLO/MLIR) to Model Explorer's visualization JSON format.
It is implemented as a stable C-ABI library
(libai_edge_model_explorer_adapter.so / .dylib) with a pure Python ctypes
FFI wrapper for universal ABI stability across Python versions without pybind11
compile-time matrix bloat.
Install ai-edge-model-explorer-adapter via pip from PyPI. For example, in a
Python virtual environment:
% python3 -m venv ~/tmp/venv
% source ~/tmp/venv/bin/activate
(venv) $ pip install ai-edge-model-explorer-adapter
After installation, the package can be imported directly:
import ai_edge_model_explorer_adapter as adapter
config = adapter.VisualizeConfig()
json_str = adapter.ConvertFlatbufferDirectlyToJson(config, "model.tflite")
print(json_str)
Build the Python wheel directly using Bazel:
bazel build -c opt //python/ai_edge_model_explorer_adapter:wheel
The resulting wheel is located under bazel-bin/:
bazel-bin/python/ai_edge_model_explorer_adapter/
Install the resulting wheel via pip:
(venv) $ pip install \
bazel-bin/python/ai_edge_model_explorer_adapter/*.whl
Download counts and popularity will appear here as the collector receives them.
Declarations describe requirements; they are not a resolved dependency graph.
bdist_wheel · 95,265.53 KB · Python py3
bdist_wheel · 100,874.11 KB · Python py3
bdist_wheel · 125,512.85 KB · Python py3
Shared repository data · GitHub
Observed since 21 Oct, 10:37 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:81fd8d55f8ed9a1f09187928a7ab6a1bbbe2a40090313f2580cbef6d20728362