Trait rai_core::WithTensors

source ·
pub trait WithTensors {
    // Required method
    fn tensors(&self) -> Vec<Tensor>;
}

Required Methods§

source

fn tensors(&self) -> Vec<Tensor>

Implementations on Foreign Types§

source§

impl WithTensors for BTreeMap<usize, Tensor>

source§

fn tensors(&self) -> Vec<Tensor>

source§

impl WithTensors for Vec<Tensor>

source§

fn tensors(&self) -> Vec<Tensor>

source§

impl<const N: usize> WithTensors for &[Tensor; N]

source§

fn tensors(&self) -> Vec<Tensor>

source§

impl<const N: usize> WithTensors for [Tensor; N]

source§

fn tensors(&self) -> Vec<Tensor>

Implementors§