class_docstr: A Simple Framework for Contrastive Learning of Visual Representations
  Details can be found from:
  https://arxiv.org/abs/2002.05709
class_docstr_tok: ["A","Simple","Framework","for","Contrastive","Learning","of","Visual","Representations","Details","can","be","found","from",":","https",":","\/\/arxiv.org\/abs\/2002.05709"]
code: def __init__(
      self,
      mlp: nn.Module,
      backbone: Optional[nn.Module] = None,
      temperature: float = 0.07,
  ) -> None:
      super().__init__()
  
      torch._C._log_api_usage_once("PYTORCHVIDEO.model.SimCLR.__init__")
  
      set_attributes(self, locals())
  
file_path: pytorchvideo/pytorchvideo/models/simclr.py
imports: from typing import Optional
  import torch
  import torch.distributed
  import torch.nn
  import torch.nn.functional
  from fvcore.nn.distributed import differentiable_all_gather
  from pytorchvideo.layers.utils import set_attributes
label_desc: Use image node_id 1 to create a new SimCLR object from inherited base classes: nn with example: obj = SimCLR(mlp, backbone, temperature)