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

Method output_size

tensorflow/python/keras/layers/recurrent.py:99–105  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

97
98 @property
99 def output_size(self):
100 if getattr(self.cells[-1], 'output_size', None) is not None:
101 return self.cells[-1].output_size
102 elif _is_multiple_state(self.cells[-1].state_size):
103 return self.cells[-1].state_size[0]
104 else:
105 return self.cells[-1].state_size
106
107 def get_initial_state(self, inputs=None, batch_size=None, dtype=None):
108 initial_states = []

Callers

nothing calls this directly

Calls 1

_is_multiple_stateFunction · 0.85

Tested by

no test coverage detected