Skip to content

PointPairFeatures

PointPairFeatures(cat: bool = True)

Bases: BaseTransform

Saves the rotation-invariant point pair features of linked nodes in their edge features (see point_pair_features()). The normals are read from norm, as in PyG, or else from normal.

Parameters:

Name Type Description Default
cat bool

If False, replaces the existing edge features instead of concatenating. Default: True

True

Example:

from mlx_graphs.transforms import PointPairFeatures

graph = PointPairFeatures()(graph)
Source code in mlx_graphs/transforms/point_cloud.py
def __init__(self, cat: bool = True):
    self.cat = cat

from mlx_graphs.transforms import PointPairFeatures · mlx_graphs/transforms/point_cloud.py