# Module: tfg.nn.loss

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/nn/loss/__init__.py) |

Loss module.

## Modules

[`chamfer_distance`](https://www.tensorflow.org/graphics/api_docs/python/tfg/nn/loss/chamfer_distance) module: This module implements the chamfer distance.

[`hausdorff_distance`](https://www.tensorflow.org/graphics/api_docs/python/tfg/nn/loss/hausdorff_distance) module: This module implements the hausdorff distance.