Enum tensorflow::expr::OpLevel
source · pub enum OpLevel {
Assign,
Add,
Mul,
Unary,
Atom,
}
Expand description
Denotes operator precedence. Used for displaying expressions as strings.
Variants§
Assign
Assignment.
Add
Addition and subtraction.
Mul
Multiplication, division, and remainder.
Unary
Unary operators like negation.
Atom
Variables and constants.
Trait Implementations§
source§impl Ord for OpLevel
impl Ord for OpLevel
source§impl PartialEq<OpLevel> for OpLevel
impl PartialEq<OpLevel> for OpLevel
source§impl PartialOrd<OpLevel> for OpLevel
impl PartialOrd<OpLevel> for OpLevel
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for OpLevel
impl Eq for OpLevel
impl StructuralEq for OpLevel
impl StructuralPartialEq for OpLevel
Auto Trait Implementations§
impl RefUnwindSafe for OpLevel
impl Send for OpLevel
impl Sync for OpLevel
impl Unpin for OpLevel
impl UnwindSafe for OpLevel
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