Skip to main content

parse_dtype

Function parse_dtype 

Source
pub fn parse_dtype(s: &str) -> Result<DType, CodememError>
Expand description

Parse a dtype string into a Candle DType.

Supported values: “f16” (default, half precision — less memory, faster on Metal), “f32”, “bf16”.