#[repr(transparent)]pub struct OperatorAttrs(pub u8);
Tuple Fields§
§0: u8
Implementations§
Source§impl OperatorAttrs
impl OperatorAttrs
pub const NONE: Self
pub const ArgMaxAttrs: Self
pub const AveragePoolAttrs: Self
pub const BatchNormalizationAttrs: Self
pub const CastAttrs: Self
pub const ConcatAttrs: Self
pub const ConstantOfShapeAttrs: Self
pub const ConvAttrs: Self
pub const ConvTransposeAttrs: Self
pub const FlattenAttrs: Self
pub const GatherAttrs: Self
pub const GemmAttrs: Self
pub const GRUAttrs: Self
pub const LeakyReluAttrs: Self
pub const LSTMAttrs: Self
pub const MaxPoolAttrs: Self
pub const ReduceMeanAttrs: Self
pub const ReshapeAttrs: Self
pub const ResizeAttrs: Self
pub const SplitAttrs: Self
pub const SoftmaxAttrs: Self
pub const TransposeAttrs: Self
pub const ModAttrs: Self
pub const ScatterElementsAttrs: Self
pub const OneHotAttrs: Self
pub const TopKAttrs: Self
pub const HardSigmoidAttrs: Self
pub const TriluAttrs: Self
pub const ScatterNDAttrs: Self
pub const NonMaxSuppressionAttrs: Self
pub const LayerNormalizationAttrs: Self
pub const RandomUniformAttrs: Self
pub const EluAttrs: Self
pub const RandomUniformLikeAttrs: Self
pub const RandomNormalAttrs: Self
pub const RandomNormalLikeAttrs: Self
pub const GatherNDAttrs: Self
pub const GeluAttrs: Self
pub const EinsumAttrs: Self
pub const IfAttrs: Self
pub const PadAttrs: Self
pub const DequantizeLinearAttrs: Self
pub const QuantizeLinearAttrs: Self
pub const DepthToSpaceAttrs: Self
pub const CastLikeAttrs: Self
pub const ShapeAttrs: Self
pub const DropoutAttrs: Self
pub const EyeLikeAttrs: Self
pub const IsInfAttrs: Self
pub const LoopAttrs: Self
pub const SequenceEmptyAttrs: Self
pub const ConcatFromSequenceAttrs: Self
pub const SplitToSequenceAttrs: Self
pub const GridSampleAttrs: Self
pub const STFTAttrs: Self
pub const ENUM_MIN: u8 = 0u8
pub const ENUM_MAX: u8 = 54u8
pub const ENUM_VALUES: &'static [Self]
Sourcepub fn variant_name(self) -> Option<&'static str>
pub fn variant_name(self) -> Option<&'static str>
Returns the variant’s name or “” if unknown.
Trait Implementations§
Source§impl Clone for OperatorAttrs
impl Clone for OperatorAttrs
Source§fn clone(&self) -> OperatorAttrs
fn clone(&self) -> OperatorAttrs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OperatorAttrs
impl Debug for OperatorAttrs
Source§impl Default for OperatorAttrs
impl Default for OperatorAttrs
Source§fn default() -> OperatorAttrs
fn default() -> OperatorAttrs
Returns the “default value” for a type. Read more
Source§impl EndianScalar for OperatorAttrs
impl EndianScalar for OperatorAttrs
Source§impl<'a> Follow<'a> for OperatorAttrs
impl<'a> Follow<'a> for OperatorAttrs
Source§impl Hash for OperatorAttrs
impl Hash for OperatorAttrs
Source§impl Ord for OperatorAttrs
impl Ord for OperatorAttrs
Source§fn cmp(&self, other: &OperatorAttrs) -> Ordering
fn cmp(&self, other: &OperatorAttrs) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OperatorAttrs
impl PartialEq for OperatorAttrs
Source§impl PartialOrd for OperatorAttrs
impl PartialOrd for OperatorAttrs
Source§impl Push for OperatorAttrs
impl Push for OperatorAttrs
Source§impl<'a> Verifiable for OperatorAttrs
impl<'a> Verifiable for OperatorAttrs
Source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos
in the verifier’s buffer.
Should not need to be called directly.impl Copy for OperatorAttrs
impl Eq for OperatorAttrs
impl SimpleToVerifyInSlice for OperatorAttrs
impl StructuralPartialEq for OperatorAttrs
Auto Trait Implementations§
impl Freeze for OperatorAttrs
impl RefUnwindSafe for OperatorAttrs
impl Send for OperatorAttrs
impl Sync for OperatorAttrs
impl Unpin for OperatorAttrs
impl UnwindSafe for OperatorAttrs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more