Skip to main content

laya_answer

Function laya_answer 

Source
pub fn laya_answer(
    q: &Question,
    logits: &[f32],
    act: [f32; 2],
    temps: &Temperatures,
) -> Answer
Expand description

The answer to q from its option logits, in option order, and its two act logits.

ยงPanics

If logits does not have one value per option.