
Extract embeddings from a pretrained SimCLR encoder
Source:R/foundation_simclr.R
foundation_simclr_embed.RdReturns the backbone features (before the projection head) —
these are the reusable vectors to feed into downstream DSM models. If
you wanted the contrastive-projection vectors instead, pass
projection = TRUE.