code: def inverse(
      cls,
      input: Tensor,
      module: Module,
      param: ParamItem,
      extra_args: Dict[str, Any] = {},
  ) -> Tensor:
      if isinstance(module, K.GeometricAugmentationBase2D):
          input = module.inverse(
              input,
              params=cls.get_instance_module_param(param),
              **extra_args,
          )
      elif isinstance(module, (K.GeometricAugmentationBase3D,)):
          raise NotImplementedError(
              "The support for 3d inverse operations are not yet supported. You are welcome to file a PR in our repo."
          )
      elif isinstance(module, (K.auto.operations.OperationBase,)):
          return InputSequentialOps.inverse(
              input,
              module=module.op,
              param=param,
              extra_args=extra_args,
          )
      elif (
          isinstance(module, K.ImageSequential)
          and not module.is_intensity_only()
      ):
          input = module.inverse_inputs(
              input,
              params=cls.get_sequential_module_param(param),
              extra_args=extra_args,
          )
      elif isinstance(module, K.container.ImageSequentialBase):
          input = module.inverse_inputs(
              input,
              params=cls.get_sequential_module_param(param),
              extra_args=extra_args,
          )
      return input
  
imports: from abc import ABCMeta, abstractmethod
  from typing import Any, Callable, Dict, Generic, List, Optional, Type, TypeVar, Union
  from typing_extensions import ParamSpec
  import kornia.augmentation
  from kornia.augmentation.base import _AugmentationBase
  from kornia.constants import DataKey
  from kornia.core import Module, Tensor
  from kornia.geometry.boxes import Boxes
  from kornia.geometry.keypoints import Keypoints
  from .params import ParamItem
label_desc: Use image node_id 2 for calling the InputSequentialOps obj's underlying member method code with example usage: obj.inverse(cls, input, module, param, extra_args) and returns: input, InputSequentialOps