class_docstr: Adds the same image multiple times to the batch K times so that the batch.
  Size is now N*K. Use the simclr_collator to convert into batches.
  
  This transform is useful when generating multiple copies of the same image,
  for example, when training contrastive methods.
docstr: Instantiates ImgReplicatePil from configuration.
  
  Args:
      config (Dict): arguments for for the transform
  
  Returns:
      ImgReplicatePil instance.
code: def from_config(cls, config: Dict[str, Any]) -> "ImgReplicatePil":
      """
      Instantiates ImgReplicatePil from configuration.
  
      Args:
          config (Dict): arguments for for the transform
  
      Returns:
          ImgReplicatePil instance.
      """
      num_times = config.get("num_times", 2)
      logging.info(f"ImgReplicatePil | Using num_times: {num_times}")
      return cls(num_times=num_times)
  
file_path: vissl/vissl/data/ssl_transforms/img_replicate_pil.py
imports: import logging
  from typing import Any, Dict
  from classy_vision.dataset.transforms import register_transform
  from classy_vision.dataset.transforms.classy_transform import ClassyTransform
label_desc: Use image node_id 3 for calling the ImgReplicatePil obj's underlying member method code with example usage: obj.from_config(cls, config) and returns: cls