Skip to main content

NdArrayElement

Trait NdArrayElement 

Source
pub trait NdArrayElement:
    Element
    + LinalgScalar
    + ScalarOperand
    + ExpElement
    + AddAssignElement
    + FromPrimitive
    + AddAssign
    + PartialEq
    + Rem<Output = Self> { }
๐Ÿ‘ŽDeprecated since 0.22.0:

burn-ndarray is deprecated and will be removed in a future release. Use burn-flex for pure-Rust CPU execution (std, no_std, WebAssembly), or one of the CubeCL backends (burn-cuda, burn-rocm, burn-wgpu, burn-cpu) for GPU acceleration.

Expand description

A general element for ndarray backend.

Dyn Compatibilityยง

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Typesยง

Sourceยง

impl NdArrayElement for f32

Sourceยง

impl NdArrayElement for f64

Sourceยง

impl NdArrayElement for i8

Sourceยง

impl NdArrayElement for i16

Sourceยง

impl NdArrayElement for i32

Sourceยง

impl NdArrayElement for i64

Sourceยง

impl NdArrayElement for u8

Sourceยง

impl NdArrayElement for u16

Sourceยง

impl NdArrayElement for u32

Sourceยง

impl NdArrayElement for u64

Implementorsยง