Added docstring for scale parameter

This commit is contained in:
Hazem 2023-12-23 00:22:44 +02:00
parent 0e5ae1d1bf
commit b9cbfbf3d7

View File

@ -23,6 +23,7 @@ class RoPE(Module):
implementation which is slightly less efficient. Default: ``False``
base (float, optional): The base used to compute angular frequency for
each dimension in the positional encodings. Default: ``10000``
scale (float, optional): The scale used to scale the positions. Default: ``1.0``
"""
def __init__(