class_docstr: Contrastive Model, currently mainly focused on memory bank and CSC.
class_docstr_tok: ["Contrastive","Model",",","currently","mainly","focused","on","memory","bank","and","CSC","."]
code: def run_swav_orig_encoder_q(self, x):
      x = self.backbone(x)  # Nx512, Nx128
      x = nn.functional.normalize(x, dim=1, p=2)
      if self.swav_prototypes is not None:
          return x, self.swav_prototypes(x)
      return x
  
imports: import math
  import numpy
  import torch
  import torch.nn
  import torch.nn.functional
  import slowfast.models.losses
  import slowfast.utils.distributed
  import slowfast.utils.logging
  from slowfast.models.video_model_builder import X3D, MViT, ResNet, SlowFast
  from .build import MODEL_REGISTRY
label_desc: Use image node_id 17 for calling the ContrastiveModel obj's underlying member method code with example usage: obj.run_swav_orig_encoder_q(x) and returns: x, x,  self