graphlow.core.MeshGeometry.chamfer_distance#

MeshGeometry.chamfer_distance(target_points: T, *, softmin_temperature: float | None = None) T#

Compute Chamfer distance to a target point set.

Parameters:
target_pointsT

Target points of shape (n_target, 3).

softmin_temperaturefloat or None, optional

If positive, use soft min so gradient flows to all vertices.

Returns:
T

Backend tensor of shape (1,).