class_docstr: Wrap a callable so that when it's called, the call will not be executed,
  but returns a dict that describes the call.
  
  LazyCall object has to be called with only keyword arguments. Positional
  arguments are not yet supported.
  
  Examples:
  ::
      from detectron2.config import instantiate, LazyCall
  
      layer_cfg = LazyCall(nn.Conv2d)(in_channels=32, out_channels=32)
      layer_cfg.out_channels = 64   # can edit it afterwards
      layer = instantiate(layer_cfg)
class_docstr_tok: ["Wrap","a","callable","so","that","when","it","'s","called",",","the","call","will","not","be","executed",",","but","returns","a","dict","that","describes","the","call",".","LazyCall","object","has","to","be","called","with","only","keyword","arguments",".","Positional","arguments","are","not","yet","supported",".","Examples",":",":",":","from","detectron2.config","import","instantiate",",","LazyCall","layer_cfg","=","LazyCall","(","nn.Conv2d",")","(","in_channels=32",",","out_channels=32",")","layer_cfg.out_channels","=","64","#","can","edit","it","afterwards","layer","=","instantiate","(","layer_cfg",")"]
code: def __call__(self, **kwargs):
      if is_dataclass(self._target):
          # omegaconf object cannot hold dataclass type
          # https://github.com/omry/omegaconf/issues/784
          target = _convert_target_to_string(self._target)
      else:
          target = self._target
      kwargs["_target_"] = target
  
      return DictConfig(content=kwargs, flags={"allow_objects": True})
  
imports: import ast
  import builtins
  import collections.abc
  import importlib
  import inspect
  import logging
  import os
  import uuid
  from contextlib import contextmanager
  from copy import deepcopy
  from dataclasses import is_dataclass
  from typing import List, Tuple, Union
  import cloudpickle
  import yaml
  from omegaconf import DictConfig, ListConfig, OmegaConf, SCMode
  from detectron2.utils.file_io import PathManager
  from detectron2.utils.registry import _convert_target_to_string
label_desc: Use image node_id 2 for calling the LazyCall obj's underlying member method code with example usage: obj.__call__() and returns: DictConfig