Catalog PyPI
PACKAGE EXPLORERView in registry

ai-edge-model-explorer-adapter

PyPI

Model Explorer backend adapter for model conversion

Versions collected1
Direct dependencies0From release 0.2.1
Last observed21 Oct, 10:37 UTC

README

Version 0.2.1 documentation

Model Explorer Adapter

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 from PyPI

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

Use the Package

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 and Install Locally

Declarative Bazel Build

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

Install the resulting wheel via pip:

(venv) $ pip install \
  bazel-bin/python/ai_edge_model_explorer_adapter/*.whl

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.2.119 Oct 20260

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
google-ai-edge/model-explorer

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 10:37 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:89317a16a638a59b2829cd6effbcb69a1ed8265ac09d2176cb210d1f09674f1f