torch_geometric.transforms.NormalizeFeatures

class NormalizeFeatures(attrs: List[str] = ['x'])[source]

Bases: BaseTransform

Row-normalizes the attributes given in attrs to sum-up to one (functional name: normalize_features).

Parameters:

attrs (List[str]) – The names of attributes to normalize. (default: ["x"])