Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
EricLBuehler committed Jan 27, 2025
1 parent e91d89a commit f0bbeea
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions candle-core/src/cpu_backend/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1789,10 +1789,6 @@ impl BackendStorage for CpuStorage {
let data = unary_map(storage, layout, |v| v.to_f32() as u8);
Ok(Self::U8(data))
}
(Self::F8E4M3(storage), DType::U8) => {
let data = unary_map(storage, layout, |v| v.to_f32() as u8);
Ok(Self::U8(data))
}
(Self::U8(storage), DType::U32) => {
let data = unary_map(storage, layout, |v| v as u32);
Ok(Self::U32(data))
Expand Down

0 comments on commit f0bbeea

Please sign in to comment.