pub trait FmaOps<Scalar: Clone + EachFMA, const MAX_RANK: usize>: TensorRef<Scalar, MAX_RANK>{
// Provided method
fn try_mul_tensor(
&self,
other: &(impl TensorRef<Scalar, MAX_RANK> + ?Sized),
) -> Result<Tensor<Scalar, 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<Scalar, MAX_RANK> + ?Sized), ) -> Result<Tensor<Scalar, Global, MAX_RANK>, TensorError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".