MCPcopy Create free account
hub / github.com/alibaba/nann / collapse_repeated

Function collapse_repeated

tensorflow/tensorflow/python/ops/ctc_ops.py:814–873  ·  view source on GitHub ↗

Merge repeated labels into single labels. Args: labels: Tensor of shape [batch, max value in seq_length] seq_length: Tensor of shape [batch], sequence length of each batch element. name: A name for this `Op`. Defaults to "collapse_repeated_labels". Returns: A tuple `(collapsed_

(labels, seq_length, name=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 11

not_equalMethod · 0.80
reduce_sumMethod · 0.80
reshapeMethod · 0.80
_get_dimFunction · 0.70
name_scopeMethod · 0.45
concatMethod · 0.45
castMethod · 0.45
rangeMethod · 0.45
scatter_ndMethod · 0.45
expand_dimsMethod · 0.45
shapeMethod · 0.45

Tested by

no test coverage detected