Home
last modified time | relevance | path

Searched refs:context_input (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/python/feature_column/
Dsequence_feature_column.py151 def concatenate_context_input(context_input, sequence_input): argument
182 context_input,
185 data=[array_ops.shape(context_input)])
187 context_input,
190 context_input.dtype))
195 array_ops.expand_dims(context_input, 1),
Dsequence_feature_column_test.py578 context_input = ops.convert_to_tensor(np.arange(10).reshape(2, 5))
580 context_input = math_ops.cast(context_input, dtype=dtypes.float32)
581 input_layer = sfc.concatenate_context_input(context_input, seq_input)
598 context_input = ops.convert_to_tensor(np.arange(100).reshape(10, 10))
600 context_input = math_ops.cast(context_input, dtype=dtypes.float32)
602 sfc.concatenate_context_input(context_input, seq_input)
611 context_input = ops.convert_to_tensor(context_input_arg)
614 context_input = math_ops.cast(context_input, dtype=dtypes.float32)
616 sfc.concatenate_context_input(context_input, seq_input)
620 context_input = ops.convert_to_tensor(np.arange(100).reshape(10, 10))
[all …]
/external/tensorflow/tensorflow/contrib/feature_column/python/feature_column/
Dsequence_feature_column.py137 def concatenate_context_input(context_input, sequence_input): argument
168 context_input,
171 data=[array_ops.shape(context_input)])
173 context_input,
176 context_input.dtype))
181 array_ops.expand_dims(context_input, 1),
Dsequence_feature_column_test.py548 context_input = ops.convert_to_tensor(np.arange(10).reshape(2, 5))
550 context_input = math_ops.cast(context_input, dtype=dtypes.float32)
551 input_layer = sfc.concatenate_context_input(context_input, seq_input)
569 context_input = ops.convert_to_tensor(np.arange(100).reshape(10, 10))
571 context_input = math_ops.cast(context_input, dtype=dtypes.float32)
573 sfc.concatenate_context_input(context_input, seq_input)
582 context_input = ops.convert_to_tensor(context_input_arg)
585 context_input = math_ops.cast(context_input, dtype=dtypes.float32)
587 sfc.concatenate_context_input(context_input, seq_input)
591 context_input = ops.convert_to_tensor(np.arange(100).reshape(10, 10))
[all …]
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Ddynamic_rnn_estimator.py122 def _concatenate_context_input(sequence_input, context_input): argument
153 context_input,
156 data=[array_ops.shape(context_input)])
158 context_input,
161 context_input.dtype))
166 array_ops.expand_dims(context_input, 1),
204 context_input = layers.input_from_feature_columns(
209 sequence_input = _concatenate_context_input(sequence_input, context_input)