loss_ctc {keras3} | R Documentation |
CTC (Connectionist Temporal Classification) loss.
Description
CTC (Connectionist Temporal Classification) loss.
Usage
loss_ctc(
y_true,
y_pred,
...,
reduction = "sum_over_batch_size",
name = "sparse_categorical_crossentropy"
)
Arguments
y_true |
A tensor of shape |
y_pred |
A tensor of shape |
... |
For forward/backward compatability. |
reduction |
Type of reduction to apply to the loss. In almost all cases
this should be |
name |
String, name for the object |
Value
CTC loss value.
[Package keras3 version 0.2.0 Index]