torch_geometric.transforms.Center

class Center[source]

Bases: BaseTransform

Centers node positions data.pos around the origin (functional name: center).