TGraphX documentation

Overview

TGraphX is a tensor-native graph intelligence framework for PyTorch research. A common Graph object serves GNNs, graph generation, evolutionary optimization, graph reinforcement learning and graph mining; knowledge graphs have their own container.

Why this exists

Most built-in GNN layers expect one feature vector per node. TGraphX lets nodes carry tensors, for example [C, H, W] patches or [C, D, H, W] volumes. The tensor layers keep that layout through message passing; other shapes can be stored but need your own encoder.

The five surfaces

  • tgx.Graph — the central data object
  • tgx.classify_nodes / tgx.kg_completion / tgx.generate_graph / tgx.train_graph_rl — high-level task entrypoints
  • tgx.validate_graph, tgx.describe — diagnostics
  • tgx.save, tgx.load — .tgx files
  • tgx.dashboard_audit — run-level reports

Further reading