L1¶
Inheritance Diagram
-
class
ashpy.keras.losses.
L1
[source]¶ Bases:
tensorflow.python.keras.losses.Loss
L1 Loss implementation as
tf.keras.losses.Loss
.Methods
__init__
()Initialize the Loss.
call
(x, y)Compute the mean of the l1 between x and y.
Attributes
Return the current reduction for this type of loss.
-
property
reduction
¶ Return the current reduction for this type of loss.
- Return type
ReductionV2
-
property