pub enum ExecOp {
Show 55 variants
Transpose {
perm: Vec<usize>,
},
Reshape {
shape: Vec<DimExpr>,
},
BroadcastInDim {
shape: Vec<DimExpr>,
dims: Vec<usize>,
},
Convert {
to: DType,
},
Constant {
dtype: DType,
bytes: Vec<u8>,
},
DotGeneral(DotGeneralConfig),
NaryEinsum {
subscripts: String,
},
ReduceSum {
axes: Vec<usize>,
},
ExtractDiag {
axis_a: usize,
axis_b: usize,
},
EmbedDiag {
axis_a: usize,
axis_b: usize,
},
Tril {
k: i64,
},
Triu {
k: i64,
},
Add,
Multiply,
Negate,
Conj,
Divide,
Abs,
Sign,
Maximum,
Minimum,
Compare(CompareDir),
Select,
Clamp,
Exp,
Log,
Sin,
Cos,
Tanh,
Sqrt,
Rsqrt,
Pow,
Expm1,
Log1p,
Gather(GatherConfig),
Scatter(ScatterConfig),
Slice(SliceConfig),
DynamicSlice {
slice_sizes: Vec<usize>,
},
Pad(PadConfig),
Concatenate {
axis: usize,
},
Reverse {
axes: Vec<usize>,
},
ShapeOf {
axis: usize,
},
DynamicTruncate {
axis: usize,
},
PadToMatch {
axis: usize,
},
ReduceProd {
axes: Vec<usize>,
},
ReduceMax {
axes: Vec<usize>,
},
ReduceMin {
axes: Vec<usize>,
},
Cholesky,
Svd {
eps: f64,
},
Qr,
Lu,
Eigh {
eps: f64,
},
Eig,
ValidateNonsingular,
TriangularSolve {
left_side: bool,
lower: bool,
transpose_a: bool,
unit_diagonal: bool,
},
}Variants§
Transpose
Reshape
BroadcastInDim
Convert
Constant
DotGeneral(DotGeneralConfig)
NaryEinsum
ReduceSum
ExtractDiag
EmbedDiag
Tril
Triu
Add
Multiply
Negate
Conj
Divide
Abs
Sign
Maximum
Minimum
Compare(CompareDir)
Select
Clamp
Exp
Log
Sin
Cos
Tanh
Sqrt
Rsqrt
Pow
Expm1
Log1p
Gather(GatherConfig)
Scatter(ScatterConfig)
Slice(SliceConfig)
DynamicSlice
Pad(PadConfig)
Concatenate
Reverse
ShapeOf
DynamicTruncate
PadToMatch
ReduceProd
ReduceMax
ReduceMin
Cholesky
Svd
Qr
Lu
Eigh
Eig
ValidateNonsingular
TriangularSolve
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExecOp
impl RefUnwindSafe for ExecOp
impl Send for ExecOp
impl Sync for ExecOp
impl Unpin for ExecOp
impl UnsafeUnpin for ExecOp
impl UnwindSafe for ExecOp
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,
§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
fn rand<T>(&self, rng: &mut (impl Rng + ?Sized)) -> Twhere
Self: Distribution<T>,
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