You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
us_pois = [list(reversed(upois)) + [0] * (max_len - le) if le < max_len else list(reversed(upois[-max_len:])) for upois, le in zip(inputData, len_data)]
Why reverse the sequence?
Thank you.
The text was updated successfully, but these errors were encountered:
Thank you for your interest.
In this work, we incorporate position information into the model by using reversed position vectors, where the first position vector corresponds to the last item. Comparing with reversing position vectors, we found that it is more convenient to reverse the original sequence.
Thank you for your interest.
In this work, we incorporate position information into the model by using reversed position vectors, where the first position vector corresponds to the last item. Comparing with reversing position vectors, we found that it is more convenient to reverse the original sequence.
reverse the sequence
us_pois = [list(reversed(upois)) + [0] * (max_len - le) if le < max_len else list(reversed(upois[-max_len:])) for upois, le in zip(inputData, len_data)]
Why reverse the sequence?
Thank you.
The text was updated successfully, but these errors were encountered: