Skip to main content

default_q_range

Function default_q_range 

Source
pub fn default_q_range(out_kind: ElementKind) -> Option<(i32, i32)>
Expand description

Default qmin / qmax for an output integer dtype. Today wired for the two trailblazer output kinds — baracuda_kernels_types::S8 ([-128, 127]) and baracuda_kernels_types::U8 ([0, 255]).

Returns None for unsupported kinds; the plan’s select() returns Error::Unsupported in that case.