Skip to content

Commit 8f3cb9b

Browse files
hongkongkiwiclaude
andcommitted
docs: Add missing RopeType variant documentation
- Added documentation comments for RopeType enum variants - Ensures all public APIs are properly documented 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent b858f12 commit 8f3cb9b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llama-cpp-2/src/model.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,13 @@ impl LlamaChatMessage {
9595
/// The Rope type that's used within the model.
9696
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
9797
pub enum RopeType {
98+
/// Normal RoPE (Rotary Position Embedding)
9899
Norm,
100+
/// GPT-NeoX style RoPE
99101
NeoX,
102+
/// Multi-resolution RoPE
100103
MRope,
104+
/// Vision model RoPE
101105
Vision,
102106
}
103107

0 commit comments

Comments
 (0)