Module: tfa.metrics.hamming

View source on GitHub

Implements Hamming distance and loss.

Classes

class HammingLoss: Computes hamming loss.

Functions

hamming_distance(...): Computes hamming distance.

hamming_loss_fn(...): Computes hamming loss.

Type Aliases

AcceptableDTypes: The central part of internal API.

FloatTensorLike: The central part of internal API.

TensorLike: The central part of internal API.