{ }
Computes the (possibly normalized) Levenshtein Edit Distance.
tf.raw_ops.EditDistance(
hypothesis_indices,
hypothesis_values,
hypothesis_shape,
truth_indices,
truth_values,
truth_shape,
normalize=True,
name=None
)
The inputs are variable-length sequences provided by SparseTensors (hypothesis_indices, hypothesis_values, hypothesis_shape) and (truth_indices, truth_values, truth_shape).
The inputs are:
Returns | |
---|---|
A Tensor of type float32 .
|