SimdParallelOp

Trait SimdParallelOp 

Source
pub trait SimdParallelOp: ParallelOp<f32> {
    // Required methods
    fn simd_parallel_add(
        &self,
        other: &Tensor<f32>,
    ) -> RusTorchResult<Tensor<f32>>;
    fn simd_parallel_matmul(
        &self,
        other: &Tensor<f32>,
    ) -> RusTorchResult<Tensor<f32>>;
    fn simd_parallel_scalar_mul(&self, scalar: f32) -> Tensor<f32>;
}
Expand description

SIMD統合並列操作のトレイト(f32特化) Trait for SIMD-integrated parallel operations (f32 specialized)

Required Methods§

Source

fn simd_parallel_add(&self, other: &Tensor<f32>) -> RusTorchResult<Tensor<f32>>

SIMD最適化並列加算 SIMD-optimized parallel addition

Source

fn simd_parallel_matmul( &self, other: &Tensor<f32>, ) -> RusTorchResult<Tensor<f32>>

SIMD最適化並列行列乗算 SIMD-optimized parallel matrix multiplication

Source

fn simd_parallel_scalar_mul(&self, scalar: f32) -> Tensor<f32>

SIMD最適化並列スカラー乗算 SIMD-optimized parallel scalar multiplication

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.

Implementors§

Source§

impl SimdParallelOp for Tensor<f32>

f32特化のSIMD並列操作実装 SIMD parallel operations implementation specialized for f32