Summary
crates/mohu-dtype has no README.md. This crate defines the DType enum used by every other mohu crate and deserves clear standalone documentation.
What to do
Create crates/mohu-dtype/README.md covering:
- One-paragraph description.
- The full dtype table (variant, Rust type, bytes, alignment) -- already in
dtype.rs as a doc comment, copy it here.
- A code example showing
DType::from_str, itemsize, is_float, promote, and can_cast.
- A section on the
Scalar trait and which Rust types implement it.
- A section on DLPack dtype code mapping.
- Link to workspace
CONTRIBUTING.md.
Acceptance criteria
Signed-off-by: Bbn08 atrancendentbeing@gmail.com
Summary
crates/mohu-dtypehas noREADME.md. This crate defines theDTypeenum used by every other mohu crate and deserves clear standalone documentation.What to do
Create
crates/mohu-dtype/README.mdcovering:dtype.rsas a doc comment, copy it here.DType::from_str,itemsize,is_float,promote, andcan_cast.Scalartrait and which Rust types implement it.CONTRIBUTING.md.Acceptance criteria
crates/mohu-dtype/README.mdexists.DType::itemsize()values.Signed-off-by: Bbn08 atrancendentbeing@gmail.com