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
reduction
Return the current reduction for this type of loss. -
reduction
¶ Return the current reduction for this type of loss.
Return type: ReductionV2
-