mirror of
https://github.com/ml-explore/mlx.git
synced 2025-08-21 20:46:46 +08:00
Added docstring for scale parameter
This commit is contained in:
parent
0e5ae1d1bf
commit
b9cbfbf3d7
@ -23,6 +23,7 @@ class RoPE(Module):
|
|||||||
implementation which is slightly less efficient. Default: ``False``
|
implementation which is slightly less efficient. Default: ``False``
|
||||||
base (float, optional): The base used to compute angular frequency for
|
base (float, optional): The base used to compute angular frequency for
|
||||||
each dimension in the positional encodings. Default: ``10000``
|
each dimension in the positional encodings. Default: ``10000``
|
||||||
|
scale (float, optional): The scale used to scale the positions. Default: ``1.0``
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
|
Loading…
Reference in New Issue
Block a user