D | sequence_queueing_state_saver.py | 65 def __init__(self, length, key, sequences, context): argument 68 if not isinstance(sequences, dict): 72 if not sequences: 74 for k in sequences.keys(): 84 sequences = dict((k, ops.convert_to_tensor( 85 v, name="sequence_%s" % k)) for k, v in sequences.items()) 90 self._sequences = sequences 102 def sequences(self): member in _SequenceInputWrapper 332 "sequence", inputs.sequences, ignore_first_dimension=True) 339 sorted_sequences = _sort_by_name(inputs.sequences) [all …]
|