pub enum BoolOperationIr {
IntoFloat(CastOpIr),
IntoInt(CastOpIr),
Not(UnaryOpIr),
And(BinaryOpIr),
Or(BinaryOpIr),
}Expand description
Operation intermediate representation specific to a bool tensor.
Variants§
IntoFloat(CastOpIr)
Operation corresponding to into float.
IntoInt(CastOpIr)
Operation corresponding to into int.
Not(UnaryOpIr)
Operation corresponding to not.
And(BinaryOpIr)
Operation corresponding to and.
Or(BinaryOpIr)
Operation corresponding to or.
Trait Implementations§
Source§impl Clone for BoolOperationIr
impl Clone for BoolOperationIr
Source§fn clone(&self) -> BoolOperationIr
fn clone(&self) -> BoolOperationIr
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 BoolOperationIr
impl Debug for BoolOperationIr
Source§impl<'de> Deserialize<'de> for BoolOperationIr
impl<'de> Deserialize<'de> for BoolOperationIr
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
Source§impl Hash for BoolOperationIr
impl Hash for BoolOperationIr
Source§impl PartialEq for BoolOperationIr
impl PartialEq for BoolOperationIr
Source§impl Serialize for BoolOperationIr
impl Serialize for BoolOperationIr
impl StructuralPartialEq for BoolOperationIr
Auto Trait Implementations§
impl Freeze for BoolOperationIr
impl RefUnwindSafe for BoolOperationIr
impl Send for BoolOperationIr
impl Sync for BoolOperationIr
impl Unpin for BoolOperationIr
impl UnwindSafe for BoolOperationIr
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