Skip to content

Remove duplicate PositionEmbeddingSine class definition#16

Open
Naveen56001 wants to merge 1 commit intoPramaLLC:mainfrom
Naveen56001:fix/remove-duplicate-positional-embedding
Open

Remove duplicate PositionEmbeddingSine class definition#16
Naveen56001 wants to merge 1 commit intoPramaLLC:mainfrom
Naveen56001:fix/remove-duplicate-positional-embedding

Conversation

@Naveen56001
Copy link

The class PositionEmbeddingSine appears twice consecutively in modeling_ben2.py.
The first definition is redundant because Python overwrites it with the second one.
This PR removes the duplicate to improve code clarity and maintainability.

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.

1 participant