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

Method Decode

lingvo/core/base_model.py:918–928  ·  view source on GitHub ↗

Constructs the inference graph for eval decoding. Args: input_batch: The input batch. A `NestedMap` of tensors. Or, if input batch splitting is used, a list of `NestedMap`, one for each split. Returns: a dict of Tensors as decoder output.

(self, input_batch)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

IdsToStringsMethod · 0.45
ConstructDecodeGraphMethod · 0.45
ConstructDecodeGraphMethod · 0.45
testDittoMethod · 0.45
testMergeProbMethod · 0.45
testEmptyMethod · 0.45
testWithBackslashMethod · 0.45
testWithUnicodeMethod · 0.45

Calls 1

DecodeWithThetaMethod · 0.95

Tested by 5

testDittoMethod · 0.36
testMergeProbMethod · 0.36
testEmptyMethod · 0.36
testWithBackslashMethod · 0.36
testWithUnicodeMethod · 0.36