View source on GitHub
|
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.
Other Members | |
|---|---|
| MAX_FLOAT |
3.4028234663852885e+36
|
| MIN_FLOAT |
-3.4028234663852885e+36
|
View source on GitHub