Python class
LinearScalingParams
LinearScalingParams
class max.nn.LinearScalingParams(factor)
Bases: object
Scaling parameters for linear RoPE frequency scaling.
-
Parameters:
-
factor (float)
factor
factor: float
The main scaling factor for the frequency components of the rope.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!