MCPcopy Create free account
hub / github.com/SymbioticLab/Oort / decode

Method decode

training/utils/decoder.py:128–143  ·  view source on GitHub ↗

Decodes probability output using ctcdecode package. Arguments: probs: Tensor of character probabilities, where probs[c,t] is the probability of character c at time t sizes: Size of each sequence in the mini-batch Returns:

(self, probs, sizes=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

convert_to_stringsMethod · 0.95
convert_tensorMethod · 0.95
decodeMethod · 0.45

Tested by

no test coverage detected