MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / __init__

Method __init__

tensorflow/python/ops/rnn_cell_impl.py:1091–1096  ·  view source on GitHub ↗
(self, cell, *args, **kwargs)

Source from the content-addressed store, hash-verified

1089 """
1090
1091 def __init__(self, cell, *args, **kwargs):
1092 super(_RNNCellWrapperV1, self).__init__(*args, **kwargs)
1093 assert_like_rnncell("cell", cell)
1094 self.cell = cell
1095 if isinstance(cell, trackable.Trackable):
1096 self._track_trackable(self.cell, name="cell")
1097
1098 def _call_wrapped_cell(self, inputs, state, cell_call_fn, **kwargs):
1099 """Calls the wrapped cell and performs the wrapping logic.

Callers

nothing calls this directly

Calls 3

assert_like_rnncellFunction · 0.85
__init__Method · 0.45
_track_trackableMethod · 0.45

Tested by

no test coverage detected