fix: well that's not right

This commit is contained in:
Carson M.
2026-03-11 14:26:27 -05:00
parent e336d6bf05
commit 14e9d29f49

View File

@@ -63,7 +63,7 @@ impl TensorElementType {
TensorElementType::Int64 | TensorElementType::Uint64 => container_capacity * 8, TensorElementType::Int64 | TensorElementType::Uint64 => container_capacity * 8,
TensorElementType::String => 0, // unsure what to do about this... TensorElementType::String => 0, // unsure what to do about this...
TensorElementType::Float8E4M3FN | TensorElementType::Float8E4M3FNUZ | TensorElementType::Float8E5M2 | TensorElementType::Float8E5M2FNUZ => { TensorElementType::Float8E4M3FN | TensorElementType::Float8E4M3FNUZ | TensorElementType::Float8E5M2 | TensorElementType::Float8E5M2FNUZ => {
container_capacity * 4 container_capacity
} }
TensorElementType::Float16 | TensorElementType::Bfloat16 => container_capacity * 2, TensorElementType::Float16 | TensorElementType::Bfloat16 => container_capacity * 2,
TensorElementType::Float32 => container_capacity * 4, TensorElementType::Float32 => container_capacity * 4,