gammagl.transforms.NormalizeFeatures¶
- class NormalizeFeatures(attrs: List[str] = ['x'])[source]¶
Row-normalizes the attributes given in
attrsto 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"])