张量:单个张量类型的设计建议
作者: antimora创建于 2026年4月26日更新于 2026年9月29日
标签designblocker
**Complex numbers don't fit.** PR #3608 is the proof. Adding complex required a new crate, a decorator trait, and a layout abstraction - all to work around the fact that complex can't be a fourth kind without another ~80-method backend ops trait. Quantized tensors already couldn't justify a kind and got hacked in as a `TensorPrimitive` enum variant. The kind system doesn't scale.
内容来源: tracel-ai/burn