irtk.loss.mesh_laplacian_smoothing¶
- irtk.loss.mesh_laplacian_smoothing(verts: torch.Tensor, faces: torch.Tensor) torch.Tensor ¶
Computes the Laplacian smoothing loss of the given mesh.
- Parameters:
verts – The vertices of the mesh, shape (num_v, 3).
faces – The faces of the mesh, shape (num_f, 3).
- Returns:
The Laplacian smoothing loss of the given mesh.