class_docstr: Expanded version of the SimCLR loss. The SimCLR loss works only on 2 positives.
  We expand the loss to work for more positives following the multi-crop
  augmentation proposed in SwAV paper. See SwAV paper https://arxiv.org/abs/2006.09882
  for the multi-crop augmentation details.
  
  Config params:
      temperature (float): the temperature to be applied on the logits
      num_crops (int): number of positives used
      buffer_params:
          world_size (int): total number of trainers in training
          embedding_dim (int): output dimensions of the features projects
          effective_batch_size (int): total batch size used (includes positives)
class_docstr_tok: ["Expanded","version","of","the","SimCLR","loss",".","The","SimCLR","loss","works","only","on","2","positives",".","We","expand","the","loss","to","work","for","more","positives","following","the","multi-crop","augmentation","proposed","in","SwAV","paper",".","See","SwAV","paper","https",":","\/\/arxiv.org\/abs\/2006.09882","for","the","multi-crop","augmentation","details",".","Config","params",":","temperature","(","float",")",":","the","temperature","to","be","applied","on","the","logits","num_crops","(","int",")",":","number","of","positives","used","buffer_params",":","world_size","(","int",")",":","total","number","of","trainers","in","training","embedding_dim","(","int",")",":","output","dimensions","of","the","features","projects","effective_batch_size","(","int",")",":","total","batch","size","used","(","includes","positives",")"]
code: def __repr__(self):
      repr_dict = {
          "name": self._get_name(),
          "info_average": self.info_criterion,
          "num_crops": self.num_crops,
      }
      return pprint.pformat(repr_dict, indent=2)
  
file_path: vissl/vissl/losses/multicrop_simclr_info_nce_loss.py
imports: import logging
  import pprint
  import numpy
  import torch
  from classy_vision.losses import register_loss
  from vissl.config import AttrDict
  from vissl.losses.simclr_info_nce_loss import SimclrInfoNCECriterion, SimclrInfoNCELoss
label_desc: Use image node_id 2 for calling the MultiCropSimclrInfoNCELoss obj's underlying member method code with example usage: obj.__repr__() and returns: pprint