tf.keras.losses.CTC

CTC (Connectionist Temporal Classification) loss.

Inherits From: Loss

y_true A tensor of shape (batch_size, target_max_length) containing the true labels in integer format. 0 always represents the blank/mask index and should not be used for classes.
y_pred A tensor of shape (batch_size, output_max_length, num_classes) containing logits (the output of your model). They should not be normalized via softmax.

Methods

call

View source

from_config

View source

get_config

View source

__call__

View source

Call self as a function.