Attachment

class Attachment.CompoundAttachment(attachments, weight=1.0)[source]

Compound attachment measure. Can be used to combine different measures together

loss(source, target)[source]
class Attachment.EnergyAttachment(weight=1.0)[source]

Energy Distance between two sampled probability measures.

loss(source, target)[source]
class Attachment.L2NormAttachment(transform=None, scale=False, scale_settings=None, weight=1.0, **kwargs)[source]
loss(source, target)[source]
class Attachment.EuclideanPointwiseDistanceAttachment(weight=1.0)[source]

Euclidean pointwise distance between two measures.

loss(source, target)[source]
class Attachment.attachment_varifold.VarifoldAttachmentBase(sigmas, weight=1.0)[source]
cost_varifold(source, target, sigma)[source]
property dim
loss(source, target)[source]
property sigmas

scales of the varifods.

Attachment.VarifoldAttachment(dim, sigmas, weight=1.0, backend=None)[source]