topobench.transforms.feature_liftings.projection_sum module#
ProjectionSum class.
- class ProjectionSum(**kwargs)#
Bases:
BaseTransformLift r-cell features to r+1-cells by projection.
- Parameters:
- **kwargsoptional
Additional arguments for the class.
- __init__(**kwargs)#
- forward(data)#
Apply the lifting to the input data.
- Parameters:
- datatorch_geometric.data.Data | dict
The input data to be lifted.
- Returns:
- torch_geometric.data.Data | dict
The lifted data.
- lift_features(data)#
Project r-cell features of a graph to r+1-cell structures.
- Parameters:
- datatorch_geometric.data.Data | dict
The input data to be lifted.
- Returns:
- torch_geometric.data.Data | dict
The data with the lifted features.