Trait einops::ReduceFn [−][src]
Trait that allows calling the reduce operation directly on the tensor
Provided methods
fn reduce(
&self,
pattern: &str,
operation: Operation
) -> Result<Self, EinopsError> where
Self: Sized + Backend,
[src]
&self,
pattern: &str,
operation: Operation
) -> Result<Self, EinopsError> where
Self: Sized + Backend,
Apply reduce operation using the pattern and Operation
fn reduce_with_lengths(
&self,
pattern: &str,
operation: Operation,
axes_lengths: &[(&str, usize)]
) -> Result<Self, EinopsError> where
Self: Sized + Backend,
[src]
&self,
pattern: &str,
operation: Operation,
axes_lengths: &[(&str, usize)]
) -> Result<Self, EinopsError> where
Self: Sized + Backend,
Apply rearrange operation using the pattern, Operation
, and additional axes
lengths attribute