Caten Documentation
Home
Quickstart
Development
API Reference
caten/air
caten/aasm
caten/codegen
caten/apis
Overview
Tensor
Func
Module
Model
AOT
Initializers
ShapeTracker
Facet APIs
StateDict
caten/avm
caten/nn
Activation
Convolution
Criterion
Embedding
Linear
Normalization
Padding
Pooling
Encoding
Optimizers
Ready to use packages
Overview
caten/apps.gpt2
External Packages
caten/gguf
caten/oonx
caten/llm
In this article
Encoding
[class] RoPE
[function] !rope
Encoding
Caten Documentation
API Reference
caten/nn
Encoding
|
Share via
X.com
Facebook
LINE
Print
Copy Url to clipboard
Edit this article
View in EmbedMode
Encoding
[class] RoPE
(RoPE dim &key (base 10000))
Implements Rotation Positional Encoding (RoPE).
[function] !rope
(!rope x dim &key (base 10000))
Applies Rotation Positional Encoding (RoPE) to the input tensor
x
with the specified
dim
.
Search
Enter a keyword to search.