Skip to content

Commit

Permalink
Fix/clamp the upper limit of w16
Browse files Browse the repository at this point in the history
  • Loading branch information
L-M-Sherlock committed Nov 6, 2023
1 parent aa797b9 commit 62357a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/weight_clipper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub(crate) fn clip_weights(weights: &Weights) -> Vec<f32> {
(0.01, 0.9),
(0.01, 2.0),
(0.0, 1.0),
(1.0, 10.0),
(1.0, 4.0),
];

let mut weights = weights.to_vec();
Expand Down

0 comments on commit 62357a5

Please sign in to comment.