DoublePrecision¶
- class lightning_fabric.plugins.precision.DoublePrecision[source]¶
Bases:
lightning_fabric.plugins.precision.precision.Precision
Plugin for training with double (
torch.float64
) precision.- convert_input(data)[source]¶
Convert model inputs (forward) to the floating point precision type of this plugin.
This is a no-op for tensors that are not of floating-point type or already have the desired type.
- Return type: