Searched refs:padded_length (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
D | rnn_common_test.py | 35 padded_length = 6 38 sequence_length = np.random.randint(0, padded_length + 1, batch_size) 39 activations = np.random.rand(batch_size, padded_length, num_classes) 40 labels = np.random.randint(0, num_classes, [batch_size, padded_length]) 86 padded_length = 6 89 sequence_length = np.random.randint(0, padded_length + 1, batch_size) 90 activations = np.random.rand(batch_size, padded_length, num_classes)
|
D | rnn_common.py | 199 padded_length = activations_shape[1] 202 sequence_lengths = padded_length 205 indices = math_ops.range(batch_size) * padded_length + sequence_lengths - 1 235 padded_length = labels_shape[1] 237 flattened_dimension = padded_length * batch_size 242 mask = array_ops.sequence_mask(sequence_lengths, padded_length)
|
D | dynamic_rnn_estimator.py | 164 padded_length = array_ops.shape(sequence_input)[1] 167 array_ops.concat([[1], [padded_length], [1]], 0))
|
/external/ppp/pppd/plugins/radius/ |
D | sendserver.c | 35 int length, i, pc, secretlen, padded_length; in rc_pack_list() local 97 padded_length = (length+(AUTH_VECTOR_LEN-1)) & ~(AUTH_VECTOR_LEN-1); in rc_pack_list() 100 *buf++ = padded_length + 2; in rc_pack_list() 108 for(i = 0; i < padded_length; i += AUTH_VECTOR_LEN) { in rc_pack_list() 124 total_length += padded_length + 2; in rc_pack_list()
|
/external/tensorflow/tensorflow/contrib/training/python/training/ |
D | sequence_queueing_state_saver_test.py | 42 padded_length = 4 44 "seq1": np.random.rand(padded_length, 5), 45 "seq2": np.random.rand(padded_length, 4, 2) 67 padded_length = 4 69 "seq1": np.random.rand(padded_length, 5), 70 "seq2": np.random.rand(padded_length, 4, 2) 638 padded_length = 4 640 "seq1": np.random.rand(padded_length, 5), 641 "seq2": np.random.rand(padded_length, 4, 2)
|
D | sequence_queueing_state_saver.py | 1603 padded_length = length + ((unroll - (length % unroll)) % unroll) 1610 num_paddings = [padded_length - array_ops.shape(value)[0]] 1624 [[math_ops.cast(padded_length, dtypes.int64)], value.dense_shape[1:]],
|
/external/tensorflow/tensorflow/contrib/feature_column/python/feature_column/ |
D | sequence_feature_column.py | 179 padded_length = array_ops.shape(sequence_input)[1] 182 array_ops.concat([[1], [padded_length], [1]], 0))
|
/external/tensorflow/tensorflow/python/feature_column/ |
D | sequence_feature_column.py | 193 padded_length = array_ops.shape(sequence_input)[1] 196 array_ops.concat([[1], [padded_length], [1]], 0))
|