classifier¶
The classification losses.
Classes
ClassifierLoss |
Classifier Loss Executor using the classifier model, instantiated with a fn. |
-
class
ashpy.losses.classifier.
ClassifierLoss
(fn)[source]¶ Bases:
ashpy.losses.executor.Executor
Classifier Loss Executor using the classifier model, instantiated with a fn.
-
__init__
(fn)[source]¶ Initialize
ClassifierLoss
.Parameters: fn ( tf.keras.losses.Loss
) – Classification Loss function, should take as input labels and prediction.Return type: None
Returns: None
-