LatentCrossCorrelationHead¶
- class mmpretrain.models.heads.LatentCrossCorrelationHead(in_channels, loss, init_cfg=None)[源代码]¶
Head for latent feature cross correlation.
Part of the code is borrowed from script.
- 参数:
- loss(input, target)[源代码]¶
Forward head.
- 参数:
input (torch.Tensor) – NxC input features.
target (torch.Tensor) – NxC target features.
- 返回:
The cross correlation loss.
- 返回类型: