Repository navigation
TGraphX v1.4.0
TGraphX v1.4.0 — User-Friendly Tensor-Native Workflows
A major UX release. Canonical APIs remain stable; new aliases are beta.
What's new
One-line workflows.
result = tgx.workflow(task="node_classification", fast_mode=True, seed=42)PyG-style construction.
g = tgx.Graph(x=images, edge_index=edge_index, labels=y).to(\"cuda\")
tgx.validate_graph(g, strict=True)NetworkX migration.
g = tgx.Graph.from_networkx(G)
G2 = g.to_networkx()
g.number_of_nodes(); g.number_of_edges()Dataset registry.
dataset = tgx.load_dataset(\"cifar10_patch\", download=True, patch_size=8)Graph construction helpers.
edge_index = tgx.knn_graph(x, k=10, metric=\"cosine\", make_symmetric=True)
patches, ei = tgx.image_to_patch_graph(image, patch_size=8)
proto, p_ei, all_x = tgx.build_prototype_graph(x, y, train_mask, num_classes=10)Reproducible run context.
with tgx.reproducible(seed=42, deterministic=True):
result = tgx.workflow(...)Native tensor graph save/load (GraphML cannot store rank-4 tensors).
g.save(\"my_graph.tgx\")
g = tgx.Graph.load(\"my_graph.tgx\")Dashboard audit.
tgx.dashboard_audit(\"runs/advanced_notebooks/31_mnist\")Functionality comparison (not throughput).
out = tgx.compare(workflows=[{\"name\": \"tensor\", \"task\": \"node_classification\"}, ...])Public API stability registry.
tgx.api_status(\"Graph\") # → \"stable\"
tgx.api_status(\"workflow\") # → \"beta\"
tgx.api_status(\"Graff\") # → KeyError with closest-match suggestionCompatibility
- All v1.3.x syntax still works. 3262 tests pass, zero regressions.
- New aliases are beta in
docs/api_stability.md. - All errors include closest-match suggestions via
difflib.
Validation
- 90 new v1.4.0 group-71-to-100 tests
- Full test suite: 3262 passed, 25 skipped, 0 failed
- Clean wheel smoke: PASSED
- CI: success
Documentation
docs/user_friendly_syntax_audit.md— classifies groups 71–100- README has a new "v1.4.0: user-friendly tensor-native workflows" section
- Advanced Colab notebooks 31–35 listed in
docs/colab_gallery.mdas
Google Drive notebook files
Notes
No SOTA / parity claims. TGraphX does not claim to replace PyG, DGL,
NetworkX, PyKEEN, SB3, or RLlib.