dgs.models.metric

Load, register, and initialize different metric functions.

Module Functions

get_metric(instance)

Given the name or an instance of a metric, return the respective instance.

register_metric(name, new_metric)

Register a new metric to be used with custom configs.

Modules

metric

Methods for handling the computation of distances and other metrics.