topobench.transforms.feature_liftings.identity module#
Identity transform that does nothing to the input data.
- class Identity(**kwargs)#
Bases:
BaseTransformAn identity transform that does nothing to the input data.
- Parameters:
- **kwargsoptional
Parameters for the base transform.
- __init__(**kwargs)#
- forward(data)#
Apply the transform to the input data.
- Parameters:
- datatorch_geometric.data.Data
The input data.
- Returns:
- torch_geometric.data.Data
The same data.