Bases: Generic[IT, OT], ABC
The output conversion for a neural network, defines the output parameters for the neural network.
Source code in src/safeds/ml/nn/_output_conversion.py
| class OutputConversion(Generic[IT, OT], ABC):
"""The output conversion for a neural network, defines the output parameters for the neural network."""
@abstractmethod
def _data_conversion(self, input_data: IT, output_data: Tensor, **kwargs: Any) -> OT:
pass # pragma: no cover
|