MCPcopy Create free account
hub / github.com/tensorflow/lingvo / _TokenizeOneSentence

Method _TokenizeOneSentence

lingvo/core/tokenizers.py:392–413  ·  view source on GitHub ↗

Tokenizes a single sentence.

(i, strs, token_ids_ta, target_ids_ta, paddings_ta)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

EncodeMethod · 0.80

Tested by

no test coverage detected