RSVP for your your local TensorFlow Everywhere event today!

Module: tfrs.layers.loss

Layers related to loss computation.

Classes

class HardNegativeMining: Transforms logits and labels to return hard negatives.

class RemoveAccidentalHits: Zeroes the logits of accidental negatives.

class SamplingProbablityCorrection: Sampling probability correction.

MAX_FLOAT 3.4028234663852885e+36
MIN_FLOAT -3.4028234663852885e+36