gammagl.transforms.NormalizeFeatures¶
- class NormalizeFeatures(attrs: List[str] = ['x'])[source]¶
Row-normalizes the attributes given in
attrs
to sum-up to one (functional name:normalize_features
). Compute with Numpy and convert results to Tensor at last.- Parameters:
attrs (List[str]) – The names of attributes to normalize. (default:
["x"]
)