deepr.layers.BPR
- class deepr.layers.BPR(**kwargs)[source]
Vanilla BPR Loss Layer.
Expected value at beginning of training : -log(0.5) = 0.69
Methods
__init__
(**kwargs)forward
(tensors[, mode])Forward method of the layer (details: https://arxiv.org/pdf/1205.2618.pdf)
forward_as_dict
(tensors[, mode])Forward method on a dictionary of Tensors.