tfep.nn.graph
Utility functions for graphs.
Functions
|
Return distances between nodes across edges. |
|
Expand a tensor of node indices to be compatible to shape |
|
Return all possible edges between nodes after applying the mask. |
|
Detect which edges have distances larger than the cutoff and remove them. |
|
Replicates TensorFlow's tf.math.unsorted_segment_sum in PyTorch. |
Classes
|
Graph base class with a fixed topology. |