towhee.models.utils.get_relative_position_indexΒΆ
Functions
Function to generate pair-wise relative position index for each token inside the window. |
Functions
Function to generate pair-wise relative position index for each token inside the window. |