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

Function _process_single_input_t

tensorflow/python/keras/backend.py:3840–3844  ·  view source on GitHub ↗
(input_t)

Source from the content-addressed store, hash-verified

3838 # The result of this will be a tuple of lists, each of the item in tuple is
3839 # list of the tensor with shape (batch, feature)
3840 def _process_single_input_t(input_t):
3841 input_t = array_ops.unstack(input_t) # unstack for time_step dim
3842 if go_backwards:
3843 input_t.reverse()
3844 return input_t
3845
3846 if nest.is_sequence(inputs):
3847 processed_input = nest.map_structure(_process_single_input_t, inputs)

Callers 1

rnnFunction · 0.85

Calls 2

unstackMethod · 0.45
reverseMethod · 0.45

Tested by

no test coverage detected