graphlow.core.MeshTopology.median_points#
- MeshTopology.median_points(x_point: T, n_hop: int = 1) T#
Compute median among n-hop point neighbors.
- Parameters:
- x_pointbackend tensor of shape
(n_points, ...). - n_hopint
The number of adjacent hops to consider.
- x_pointbackend tensor of shape
- Returns:
- T
Tensor of shape
(n_points, ...).