docstr: Instantiates ImgPilRandomSolarize from configuration.
  
  Args:
      config (Dict): arguments for for the transform
  
  Returns:
      ImgPilRandomSolarize instance.
code: def from_config(
      cls, config: Dict[str, Any]
  ) -> "ImgPilResizeLargerSide":
      """
      Instantiates ImgPilRandomSolarize from configuration.
  
      Args:
          config (Dict): arguments for for the transform
  
      Returns:
          ImgPilRandomSolarize instance.
      """
      size = config.get("size", 1024)
  
      return cls(size)
  
file_path: vissl/vissl/data/ssl_transforms/img_pil_resize_larger_side.py
imports: from typing import Any, Dict
  import numpy
  from classy_vision.dataset.transforms import register_transform
  from classy_vision.dataset.transforms.classy_transform import ClassyTransform
  from PIL import Image
label_desc: Use image node_id 3 for calling the ImgPilResizeLargerSide obj's underlying member method code with example usage: obj.from_config(cls, config) and returns: cls