mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 18:48:51 +00:00
Fix size-in-bytes for u8. (#351)
This commit is contained in:
@ -43,7 +43,7 @@ impl DType {
|
||||
|
||||
pub fn size_in_bytes(&self) -> usize {
|
||||
match self {
|
||||
Self::U8 => 4,
|
||||
Self::U8 => 1,
|
||||
Self::U32 => 4,
|
||||
Self::BF16 => 2,
|
||||
Self::F16 => 2,
|
||||
|
Reference in New Issue
Block a user