Skip to content

Commit

Permalink
Update fn name
Browse files Browse the repository at this point in the history
  • Loading branch information
EricLBuehler committed Mar 12, 2024
1 parent 58a37cd commit c3ef7cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions candle-nn/src/layer_norm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,13 @@ impl crate::Module for LayerNorm {
let start = SystemTime::now()
.duration_since(UNIX_EPOCH)
.expect("Time travel has occurred!")
.as_millis();
.as_micros();
let res = self.forward_slow(x);
let end = SystemTime::now()
.duration_since(UNIX_EPOCH)
.expect("Time travel has occurred!")
.as_millis();
println!("{}ms", end - start);
.as_micros();
println!("{}us", end - start);
res
}
}
Expand Down

0 comments on commit c3ef7cf

Please sign in to comment.