Skip to main content

parse_f16_literal_cell

Function parse_f16_literal_cell 

Source
pub fn parse_f16_literal_cell(value: &Value) -> Option<f16>
Expand description

Parses a tensor cell as an IEEE half-precision value, returning None unless it is a number in the numbers/f16 domain whose canonical f32-form text parses cleanly.