class_docstr: Loss used for DeepClusterV2 approach as provided in SwAV paper
  https://arxiv.org/abs/2006.09882
  
  Config params:
      DROP_LAST (bool): automatically inferred from DATA.TRAIN.DROP_LAST
      BATCHSIZE_PER_REPLICA (int): 256  # automatically inferred from
                                          DATA.TRAIN.BATCHSIZE_PER_REPLICA
      num_crops (int): 2                # automatically inferred from DATA.TRAIN.TRANSFORMS
      temperature (float): 0.1
      num_clusters (List[int]): [3000, 3000, 3000]
      kmeans_iters (int): 10
      crops_for_mb: [0]
      embedding_dim: 128
      num_train_samples (int): -1       # @auto-filled
class_docstr_tok: ["Loss","used","for","DeepClusterV2","approach","as","provided","in","SwAV","paper","https",":","\/\/arxiv.org\/abs\/2006.09882","Config","params",":","DROP_LAST","(","bool",")",":","automatically","inferred","from","DATA.TRAIN.DROP_LAST","BATCHSIZE_PER_REPLICA","(","int",")",":","256","#","automatically","inferred","from","DATA.TRAIN.BATCHSIZE_PER_REPLICA","num_crops","(","int",")",":","2","#","automatically","inferred","from","DATA.TRAIN.TRANSFORMS","temperature","(","float",")",":","0.1","num_clusters","(","List","[","int","]",")",":","[","3000",",","3000",",","3000","]","kmeans_iters","(","int",")",":","10","crops_for_mb",":","[","0","]","embedding_dim",":","128","num_train_samples","(","int",")",":","-1","#","@","auto-filled"]
code: def __repr__(self):
      repr_dict = {"name": self._get_name()}
      return pprint.pformat(repr_dict, indent=2)
  
file_path: vissl/vissl/losses/deepclusterv2_loss.py
imports: import logging
  import math
  import pprint
  import torch
  import torch.distributed
  from classy_vision.generic.distributed_util import all_reduce_sum, gather_from_all, get_rank, get_world_size
  from classy_vision.losses import ClassyLoss, register_loss
  from torch import nn
  from vissl.config import AttrDict
  from vissl.utils.misc import get_indices_sparse
label_desc: Use image node_id 7 for calling the DeepClusterV2Loss obj's underlying member method code with example usage: obj.__repr__() and returns: pprint