torchcell.viz.visual_graph_degen.VisGraphDegen
- class VisGraphDegen(adj_matrix: Tensor, node_features: Tensor)[source]
Bases:
objectCompute and log graph oversmoothing/oversquashing diagnostics to wandb.
- static compute_smoothness(X: Tensor) Tensor[source]
Return Frobenius norm of node features centered on their mean (oversmoothing).