description: Types of loss reduction.

tf.keras.losses.Reduction

Types of loss reduction.

Contains the following values:

Please see the custom training guide
for more details on this.

Methods

all

View source

validate

View source

AUTO 'auto'
NONE 'none'
SUM 'sum'
SUM_OVER_BATCH_SIZE 'sum_over_batch_size'