pub enum Agreement {
Exact,
TopLabel,
}Expand description
How one pair of outputs is compared.
Variants§
Exact
Equal record canonical bytes.
TopLabel
The same unique top option: a label, or the one greatest entry of a distribution, logits or scores. An output without one never agrees.
Trait Implementations§
impl Copy for Agreement
Source§impl<'de> Deserialize<'de> for Agreement
impl<'de> Deserialize<'de> for Agreement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Agreement
impl StructuralPartialEq for Agreement
Auto Trait Implementations§
impl Freeze for Agreement
impl RefUnwindSafe for Agreement
impl Send for Agreement
impl Sync for Agreement
impl Unpin for Agreement
impl UnsafeUnpin for Agreement
impl UnwindSafe for Agreement
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more