Home
last modified time | relevance | path

Searched refs:new_states (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/python/keras/layers/legacy_rnn/
Drnn_cell_impl.py1324 new_states = []
1338 new_states.append(new_state)
1340 new_states = (
1341 tuple(new_states) if self._state_is_tuple else array_ops.concat(
1342 new_states, 1))
1344 return cur_inp, new_states
/external/tensorflow/tensorflow/python/keras/layers/
Drecurrent_v2.py613 last_output, outputs, new_states = K.rnn(
624 return last_output, outputs, new_states[0], _runtime(_RUNTIME_CPU)
1393 last_output, outputs, new_states = K.rnn(
1404 return (last_output, outputs, new_states[0], new_states[1],
Drecurrent.py793 output, new_states = cell_call_fn(
795 if not nest.is_nested(new_states):
796 new_states = [new_states]
797 return output, new_states
802 output, new_states = cell_call_fn(inputs, states, **kwargs)
803 if not nest.is_nested(new_states):
804 new_states = [new_states]
805 return output, new_states
Drecurrent_test.py1453 new_states = nest.map_structure(lambda s: np.ones((batch, s)),
1455 layer.reset_states(new_states)
1888 new_states = NestedState(s1=state_1, s2=state_2_3)
1890 return output, new_states
/external/tensorflow/tensorflow/python/keras/
Dbackend.py4395 output, new_states = step_function(inp,
4407 flat_new_states = nest.flatten(new_states)
4417 new_states = successive_states[-1]
4435 new_states = successive_states[-1]
4548 output, new_states = step_function(current_input,
4559 flat_new_state = nest.flatten(new_states)
4565 new_states = nest.pack_sequence_as(new_states, flat_final_state)
4571 tuple(flat_new_output)) + tuple(new_states)
4578 new_states = final_outputs[3:]
4593 output, new_states = step_function(current_input,
[all …]
Dbackend_test.py1247 last_output, outputs, new_states = backend.rnn(rnn_fn, inputs,
1253 for state in new_states:
1258 self.assertLen(new_states, 1)
1259 state_list[i].append(backend.eval(new_states[0]))
1362 last_output, outputs, new_states = backend.rnn(rnn_fn, inputs,
1371 self.assertEqual(new_states[0].shape.as_list(), [num_samples, output_dim])
1372 self.assertEqual(new_states[1].shape.as_list(),
1377 self.assertLen(new_states, 2)
1378 state_list[i].append(backend.eval(new_states[0]))
1379 additional_state_list[i].append(backend.eval(new_states[1]))
/external/pcre/dist2/src/
Dpcre2_dfa_match.c534 stateblock *active_states, *new_states, *temp_states; in internal_dfa_match() local
573 next_new_state = new_states = active_states + wscount; in internal_dfa_match()
665 memcpy(new_states, active_states, (size_t)new_count * sizeof(stateblock)); in internal_dfa_match()
707 active_states = new_states; in internal_dfa_match()
708 new_states = temp_states; in internal_dfa_match()
718 next_new_state = new_states; in internal_dfa_match()