Enum leaf::weight::DimCheckMode [] [src]

pub enum DimCheckMode {
    Strict,
    Permissive,
}

Enum for specifing the shared weights behaviour

Variants

Strict

Strict requires that shapes match.

Permissive

Permissive requires only the count of weights to match.

Trait Implementations

Derived Implementations

impl Clone for DimCheckMode

fn clone(&self) -> DimCheckMode

1.0.0fn clone_from(&mut self, source: &Self)

impl Copy for DimCheckMode

impl Debug for DimCheckMode

fn fmt(&self, __arg_0: &mut Formatter) -> Result