Skip to main content

Tensor

Trait Tensor 

Source
pub trait Tensor<D, const RANK: usize>: RankedTensor<D, RANK>
where D: Dtype,
{ }
Expand description

A tensor of dtype D and rank RANK.

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<D, const RANK: usize> Tensor<D, RANK> for SymTensor
where D: Dtype,

Source§

impl<D: Dtype, const RANK: usize> Tensor<D, RANK> for LlvmTensor<D>