class_docstr: ConvertMode for instantiate, controls return type.
  
  A config is either config or instance-like (`_target_` field).
  
  If instance-like, instantiate resolves the callable (class or
  function) and returns the result of the call on the rest of the
  parameters.
  
  If "none", config-like configs will be kept as is.
  
  If "partial", config-like configs will be converted to native python
  containers (list and dict), unless they are structured configs (
  dataclasses or attr instances). Structured configs remain as DictConfig objects.
  
  If "object", config-like configs will be converted to native python
  containers (list and dict), unless they are structured configs (
  dataclasses or attr instances). Structured configs are converted to instances
  of the backing dataclass or attr class using OmegaConf.to_object.
  
  If "all", config-like configs will all be converted to native python
  containers (list and dict).
code: def __eq__(self, other: Any) -> Any:
      if isinstance(other, ConvertMode):
          return other.value == self.value
      elif isinstance(other, str):
          return other.upper() == self.name.upper()
      else:
          return NotImplemented
  
file_path: hydra/hydra/types.py
imports: from dataclasses import dataclass
  from enum import Enum
  from typing import TYPE_CHECKING, Any, Callable
  from omegaconf import MISSING
  from hydra import version
  from ._internal.deprecation_warning import deprecation_warning
label_desc: Use image node_id 1 for calling the ConvertMode obj's underlying member method code with example usage: obj.__eq__(other) and returns: unknown, unknown, NotImplemented