pub struct SemiringOp<Alg: Algebra> {
pub kind: SemiringOpKind,
/* private fields */
}Fields§
§kind: SemiringOpKindImplementations§
Source§impl<Alg: Algebra> SemiringOp<Alg>
impl<Alg: Algebra> SemiringOp<Alg>
pub fn new(kind: SemiringOpKind) -> Self
Trait Implementations§
Source§impl<Alg: Algebra> Clone for SemiringOp<Alg>
impl<Alg: Algebra> Clone for SemiringOp<Alg>
Source§impl<Alg: Algebra> Debug for SemiringOp<Alg>
impl<Alg: Algebra> Debug for SemiringOp<Alg>
Source§impl<Alg> GraphOp for SemiringOp<Alg>
impl<Alg> GraphOp for SemiringOp<Alg>
Source§impl<Alg: Algebra> Hash for SemiringOp<Alg>
impl<Alg: Algebra> Hash for SemiringOp<Alg>
Source§impl<Alg: Algebra> PartialEq for SemiringOp<Alg>
impl<Alg: Algebra> PartialEq for SemiringOp<Alg>
Source§impl<Alg> SemiringOps for SemiringOp<Alg>
impl<Alg> SemiringOps for SemiringOp<Alg>
fn add_op() -> Self
fn mul_op() -> Self
fn dot_general(config: DotGeneralConfig) -> Self
fn reduce_sum(axes: Vec<usize>, _input_shape: Vec<DimExpr>) -> Self
fn transpose_op(perm: Vec<usize>) -> Self
fn reshape(_from_shape: Vec<DimExpr>, to_shape: Vec<DimExpr>) -> Self
fn broadcast_in_dim(shape: Vec<DimExpr>, dims: Vec<usize>) -> Self
fn extract_diag(axis_a: usize, axis_b: usize) -> Self
fn embed_diag(axis_a: usize, axis_b: usize) -> Self
impl<Alg: Algebra> Eq for SemiringOp<Alg>
Auto Trait Implementations§
impl<Alg> Freeze for SemiringOp<Alg>
impl<Alg> RefUnwindSafe for SemiringOp<Alg>where
Alg: RefUnwindSafe,
impl<Alg> Send for SemiringOp<Alg>where
Alg: Send,
impl<Alg> Sync for SemiringOp<Alg>where
Alg: Sync,
impl<Alg> Unpin for SemiringOp<Alg>where
Alg: Unpin,
impl<Alg> UnsafeUnpin for SemiringOp<Alg>
impl<Alg> UnwindSafe for SemiringOp<Alg>where
Alg: UnwindSafe,
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