class_docstr: LightningModule wrapper which converts incoming floating point data in ``*_step`` and ``forward`` to double
  (``torch.float64``) precision.
  
  .. deprecated:: Use :meth:`~lightning.pytorch.core.hooks.ModelHooks.configure_model` instead.
  
  Args:
      pl_module: the model to wrap
code: def validation_step(self, *args: Any, **kwargs: Any) -> Any:
      return self.module.validation_step(
          *LightningDoublePrecisionModule._move_float_tensors_to_double(
              args
          ),
          **LightningDoublePrecisionModule._move_float_tensors_to_double(
              kwargs
          ),
      )
  
imports: from contextlib import contextmanager
  from typing import Any, ContextManager, Generator, Literal
  import torch
  import torch.nn
  from lightning_utilities.core.apply_func import apply_to_collection
  from torch import Tensor
  from typing_extensions import override
  import lightning.pytorch
  from lightning.fabric.plugins.precision.utils import _convert_fp_tensor, _DtypeContextManager
  from lightning.fabric.utilities.device_dtype_mixin import _DeviceDtypeModuleMixin
  from lightning.pytorch.plugins.precision.precision import Precision
  from lightning.pytorch.utilities.rank_zero import rank_zero_deprecation
label_desc: Use image node_id 4 for calling the LightningDoublePrecisionModule obj's underlying member method code with example usage: obj.validation_step() and returns: self