Skip to main content

holds_accumulator

Function holds_accumulator 

Source
pub fn holds_accumulator(
    op: &Op,
    g: &TensorGraph,
    bits: u32,
) -> Result<(), String>
Expand description

Whether a chip whose integers accumulate in bits holds every partial result op accumulates: Ok, or why not — the bits its operands’ proven ranges need, or an operand no range bounds on a chip narrower than the language’s own 64-bit integers.