Skip to content

Conversation

danbev
Copy link
Member

@danbev danbev commented Oct 11, 2025

This commit adds a check in the is_recurrent method to ensure that the provided layer index is within the valid range.

The motivation for this change is to prevent potential out-of-bounds and also be consistent with other methods in the class that perform similar checks, like is_swa.

This commit adds a check in the is_recurrent method to ensure that the
provided layer index is within the valid range.

The motivation for this change is to prevent potential out-of-bounds
and also be consistent with other methods in the class that perform
similar checks, like is_swa.
@danbev danbev requested a review from ggerganov as a code owner October 11, 2025 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants