class_docstr: Base class for all plugins handling the precision-specific parts of the training.
  
  The class attribute precision must be overwritten in child classes. The default value reflects fp32 training.
docstr: Convert model inputs (forward) to the floating point precision type of this plugin.
  
  This is a no-op in the base precision plugin, since we assume the data already has the desired type (default is
  torch.float32).
docstr_tok: ["Convert","model","inputs","(","forward",")","to","the","floating","point","precision","type","of","this","plugin",".","This","is","a","no-op","in","the","base","precision","plugin",",","since","we","assume","the","data","already","has","the","desired","type","(","default","is","torch.float32",")","."]
code: def convert_input(self, data: Any) -> Any:
      """Convert model inputs (forward) to the floating point precision type of this plugin.
  
      This is a no-op in the base precision plugin, since we assume the data already has the desired type (default is
      torch.float32).
  
      """
      return data
  
imports: from contextlib import nullcontext
  from typing import Any, ContextManager, Dict, Literal, Optional, Union
  from torch import Tensor
  from torch.nn import Module
  from torch.optim import Optimizer
  from lightning.fabric.utilities.types import _PARAMETERS, Optimizable
label_desc: Use image node_id 5 for calling the Precision obj's underlying member method code with example usage: obj.convert_input(data) and returns: data