• JINMEI Tatuya's avatar
    [2091a] refactor LabelSequence: ensure last_label_ is always valid index. · 9cc4ac55
    JINMEI Tatuya authored
    This simplifies some internal part of the code, and eliminates the need for
    offsets_size_ (so it's removed).  This change is a preparation for making
    the "from raw data" construction more generic to support non absolute labels.
    This is a purely internal refactoring, and public interfaces aren't changed.