byol
BYOLRegressionLoss
¶
Bases: Module
BYOL regression loss module.
forward(x, y)
¶
Compute the BYOL regression loss.
Parameters:
-
x
(
Tensor
) –First Tensor
-
y
(
Tensor
) –Second Tensor
Returns:
-
Tensor
–BYOL regression loss
Source code in quadra/losses/ssl/byol.py
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
|
byol_regression_loss(x, y)
¶
Byol regression loss Args: x: tensor y: tensor.
Returns:
-
Tensor
–tensor
Source code in quadra/losses/ssl/byol.py
6 7 8 9 10 11 12 13 14 15 16 17 |
|