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

Function InitRNNCellState

lingvo/core/py_utils.py:1041–1082  ·  view source on GitHub ↗

Initial state definitions for RNN cell implementations. Args: shape: A array of ints/symbols for specifying the shape of the state. init: Hyperparameters as returned by one of the static implemetaitons in RNNCellStateInit. dtype: The dype of the states. Defaults to tf.float32.

(shape, init=None, dtype=None, name=None, is_eval=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

ToStaticShapeFunction · 0.85
DefaultRNNCellStateInitFunction · 0.85
use_stateless_vars_initFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…