pub trait FmaOps<T: Clone + EachFMA, const MAX_RANK: usize>: TensorRef<T, MAX_RANK>{
// Provided method
fn try_mul_tensor(
&self,
other: &(impl TensorRef<T, MAX_RANK> + ?Sized),
) -> Result<Tensor<T, Global, MAX_RANK>, TensorError> { ... }
}Expand description
Extension trait: element-wise multiplication for any TensorRef implementor.
Provided Methods§
fn try_mul_tensor( &self, other: &(impl TensorRef<T, MAX_RANK> + ?Sized), ) -> Result<Tensor<T, Global, MAX_RANK>, TensorError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.