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

Method __init__

lingvo/core/py_utils.py:5878–5963  ·  view source on GitHub ↗

Constructor. Args: fwd: A callable xs: Nested Structure -> ys: Nested Structure. Used to build the TensorFlow graph function that this object encapsulates. fwd_sig: A Nested Structure of tf.TensorSpec representing the input signature of `fwd`, or None (meaning that `

(self,
               fwd,
               fwd_sig=None,
               bak=None,
               bak_as_function=False,
               device=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

NestedMapClass · 0.85
GetGlobalStepFunction · 0.85
_DefineFunctionFunction · 0.85

Tested by

no test coverage detected