Enum FloatOperationIr
pub enum FloatOperationIr {
Show 35 variants
Exp(UnaryOpIr),
Log(UnaryOpIr),
Log1p(UnaryOpIr),
Erf(UnaryOpIr),
PowfScalar(ScalarOpIr),
Sqrt(UnaryOpIr),
Cos(UnaryOpIr),
Cosh(UnaryOpIr),
Sin(UnaryOpIr),
Sinh(UnaryOpIr),
Tan(UnaryOpIr),
Tanh(UnaryOpIr),
ArcCos(UnaryOpIr),
ArcCosh(UnaryOpIr),
ArcSin(UnaryOpIr),
ArcSinh(UnaryOpIr),
ArcTan(UnaryOpIr),
ArcTanh(UnaryOpIr),
ArcTan2(BinaryOpIr),
Round(UnaryOpIr),
Floor(UnaryOpIr),
Ceil(UnaryOpIr),
Trunc(UnaryOpIr),
IntoInt(CastOpIr),
Matmul(MatmulOpIr),
Cross(CrossOpIr),
Random(RandomOpIr),
Recip(UnaryOpIr),
IsNan(UnaryOpIr),
IsInf(UnaryOpIr),
Quantize(QuantizeOpIr),
Dequantize(DequantizeOpIr),
GridSample2d(GridSample2dOpIr),
Powf(BinaryOpIr),
Hypot(BinaryOpIr),
}Expand description
Operation intermediate representation specific to a float tensor.
Variants§
Exp(UnaryOpIr)
Operation corresponding to exp.
Log(UnaryOpIr)
Operation corresponding to log.
Log1p(UnaryOpIr)
Operation corresponding to log1p.
Erf(UnaryOpIr)
Operation corresponding to erf.
PowfScalar(ScalarOpIr)
Operation corresponding to powf_scalar.
Sqrt(UnaryOpIr)
Operation corresponding to sqrt.
Cos(UnaryOpIr)
Operation corresponding to cos.
Cosh(UnaryOpIr)
Operation corresponding to cosh.
Sin(UnaryOpIr)
Operation corresponding to sin.
Sinh(UnaryOpIr)
Operation corresponding to sin.
Tan(UnaryOpIr)
Operation corresponding to tan.
Tanh(UnaryOpIr)
Operation corresponding to tanh.
ArcCos(UnaryOpIr)
Operation corresponding to acos.
ArcCosh(UnaryOpIr)
Operation corresponding to acosh.
ArcSin(UnaryOpIr)
Operation corresponding to asin.
ArcSinh(UnaryOpIr)
Operation corresponding to asinh.
ArcTan(UnaryOpIr)
Operation corresponding to atan.
ArcTanh(UnaryOpIr)
Operation corresponding to atanh.
ArcTan2(BinaryOpIr)
Operation corresponding to atan2.
Round(UnaryOpIr)
Operation corresponding to round.
Floor(UnaryOpIr)
Operation corresponding to floor.
Ceil(UnaryOpIr)
Operation corresponding to ceil.
Trunc(UnaryOpIr)
Operation corresponding to trunc.
IntoInt(CastOpIr)
Operation corresponding to into_int.
Matmul(MatmulOpIr)
Operation corresponding to matmul.
Cross(CrossOpIr)
Operation corresponding to cross.
Random(RandomOpIr)
Operation corresponding to random.
Recip(UnaryOpIr)
Operation corresponding to recip.
IsNan(UnaryOpIr)
Operation corresponding to is_nan.
IsInf(UnaryOpIr)
Operation corresponding to is_nan.
Quantize(QuantizeOpIr)
Operation corresponding to quantize.
Dequantize(DequantizeOpIr)
Operation corresponding to dequantize.
GridSample2d(GridSample2dOpIr)
Operation corresponding to grid_sample_2d.
Powf(BinaryOpIr)
Operation corresponding to powf.
Hypot(BinaryOpIr)
Operation corresponding to hypot.
Trait Implementations§
§impl Clone for FloatOperationIr
impl Clone for FloatOperationIr
§fn clone(&self) -> FloatOperationIr
fn clone(&self) -> FloatOperationIr
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more§impl Debug for FloatOperationIr
impl Debug for FloatOperationIr
§impl<'de> Deserialize<'de> for FloatOperationIr
impl<'de> Deserialize<'de> for FloatOperationIr
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FloatOperationIr, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FloatOperationIr, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
§impl Hash for FloatOperationIr
impl Hash for FloatOperationIr
§impl PartialEq for FloatOperationIr
impl PartialEq for FloatOperationIr
§fn eq(&self, other: &FloatOperationIr) -> bool
fn eq(&self, other: &FloatOperationIr) -> bool
self and other values to be equal, and is used by ==.§impl Serialize for FloatOperationIr
impl Serialize for FloatOperationIr
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for FloatOperationIr
Auto Trait Implementations§
impl Freeze for FloatOperationIr
impl RefUnwindSafe for FloatOperationIr
impl Send for FloatOperationIr
impl Sync for FloatOperationIr
impl Unpin for FloatOperationIr
impl UnsafeUnpin for FloatOperationIr
impl UnwindSafe for FloatOperationIr
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<K, Q> Comparable<Q> for K
impl<K, Q> Comparable<Q> for K
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<K, Q> Equivalent<Q> for K
impl<K, Q> Equivalent<Q> for K
§fn equivalent(&self, key: &Q) -> bool
fn equivalent(&self, key: &Q) -> bool
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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