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

Method AddFrameworkInputs

lingvo/core/py_utils.py:5993–6012  ·  view source on GitHub ↗

Add framework tensors like step_seed and global_step to inputs. This is only necessary when using `func`, as wrapping is handled automatically in __call__. Args: inputs: inputs to the function. Returns: Inputs wrapped with framework tensors suitable for use with `func`

(self, inputs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

__call__Method · 0.95
IfFunction · 0.80
BodyWrappedFunction · 0.80
WhileLoopFunction · 0.80

Calls 2

NestedMapClass · 0.85
GetGlobalStepFunction · 0.85

Tested by

no test coverage detected