Home
last modified time | relevance | path

Searched refs:first_state (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/contrib/seq2seq/python/kernel_tests/
Dbasic_decoder_test.py78 (first_finished, first_inputs, first_state) = my_decoder.initialize()
81 constant_op.constant(0), first_inputs, first_state)
84 self.assertTrue(isinstance(first_state, rnn_cell.LSTMStateTuple))
91 self.assertEqual((batch_size, cell_depth), first_state[0].get_shape())
92 self.assertEqual((batch_size, cell_depth), first_state[1].get_shape())
105 "first_state": first_state,
157 (first_finished, first_inputs, first_state) = my_decoder.initialize()
160 constant_op.constant(0), first_inputs, first_state)
163 self.assertTrue(isinstance(first_state, rnn_cell.LSTMStateTuple))
169 self.assertEqual((batch_size, cell_depth), first_state[0].get_shape())
[all …]
Dbasic_decoder_v2_test.py74 first_state) = my_decoder.initialize(input_t,
89 constant_op.constant(0), first_inputs, first_state)
92 self.assertTrue(isinstance(first_state, rnn_cell.LSTMStateTuple))
99 self.assertEqual((batch_size, cell_depth), first_state[0].get_shape())
100 self.assertEqual((batch_size, cell_depth), first_state[1].get_shape())
113 "first_state": first_state,
149 (first_finished, first_inputs, first_state) = my_decoder.initialize(
166 constant_op.constant(0), first_inputs, first_state)
169 self.assertTrue(isinstance(first_state, rnn_cell.LSTMStateTuple))
175 self.assertEqual((batch_size, cell_depth), first_state[0].get_shape())
[all …]
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/
Dfiltering_postprocessor.py99 def _interpolate_state_linear(first_state, second_state, first_responsibility): argument
103 nest.flatten(first_state), nest.flatten(second_state)):
125 return nest.pack_sequence_as(first_state, interpolated_state_flat)
252 first_state=filtered_state,
/external/toolchain-utils/binary_search_tool/test/
Dbinary_search_tool_tester.py222 first_state = os.readlink(state_file)
227 self.assertTrue(second_state != first_state)
228 self.assertFalse(os.path.exists(first_state))