logitorch.models.exceptions
===========================
.. py:module:: logitorch.models.exceptions
Exceptions
----------
.. autoapisummary::
logitorch.models.exceptions.LossError
logitorch.models.exceptions.TaskError
Module Contents
---------------
.. py:exception:: LossError(losses: List[str])
Bases: :py:obj:`Exception`
An error is raised when the loss is wrong
Initialize self. See help(type(self)) for accurate signature.
.. py:attribute:: message
:value: Multiline-String
.. raw:: html
Show Value
.. code-block:: python
"""LossError: Loss not suppported. Losses that the model can use are Uninferable
"""
.. raw:: html
.. py:exception:: TaskError(tasks: List[str])
Bases: :py:obj:`Exception`
An error is raised when the task is wrong
Initialize self. See help(type(self)) for accurate signature.
.. py:attribute:: message
:value: Multiline-String
.. raw:: html
Show Value
.. code-block:: python
"""TaskError: Task is not found. Tasks that the model can are Uninferable
"""
.. raw:: html