softcap
metrale_
model_
weights
1.0.0-beta-preview
In metrale_
model_
weights::
kimi_
k3_
host::
situ
metrale_model_weights
::
kimi_k3_host
::
situ
Function
softcap
Copy item path
Source
pub fn softcap(x:
f32
, beta:
f32
) ->
f32
Expand description
Smooth cap.
beta
must be finite and non-zero.