Skip to content

Add distance metrics to Python interface #339

@sbaldu

Description

@sbaldu

We should bind the metrics in a small pybind module like we do to the convolutional kernels and then add them as parameters in the Python interface.
Since the metrics are templated on the number of dimensions, we should provide a way to bind them cleanly without specifying all the possible (reasonable) dimensions, maybe with a dummy type which then is used to deduce the actual metric type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    API: PythonThis change influences the Python APIbackend: C++This only touches the C++ backendfeaturepriority: highThe issue or PR is urgent

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions