def decode_record(record):
      """(key, serialized SequenceExample) to dict of <feature name, Tensor>."""
      decode_items = feature_keys + label_keys
      decoded = sequence_decoder.decode(record, items=decode_items)
      return dict(list(zip(decode_items, decoded)))
(key, serialized SequenceExample) to dict of <feature name, Tensor>.
language/xsp/model/input_utils.py