torch_geometric.transforms.LocalCartesian
- class LocalCartesian(norm: bool = True, cat: bool = True)[source]
Bases:
BaseTransform
Saves the relative Cartesian coordinates of linked nodes in its edge attributes (functional name:
local_cartesian
). Each coordinate gets neighborhood-normalized to the interval \({[0, 1]}^D\).