Trait rai_core::TensorIter

source ·
pub trait TensorIter {
    // Required method
    fn tensor_iter(&self) -> impl Iterator<Item = &Tensor>;
}

Required Methods§

source

fn tensor_iter(&self) -> impl Iterator<Item = &Tensor>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl TensorIter for ()

source§

fn tensor_iter(&self) -> impl Iterator<Item = &Tensor>

source§

impl TensorIter for HashMap<usize, Tensor>

source§

fn tensor_iter(&self) -> impl Iterator<Item = &Tensor>

source§

impl<'a, T> TensorIter for &'a T
where T: TensorIter,

source§

fn tensor_iter(&self) -> impl Iterator<Item = &Tensor>

source§

impl<'a, const N: usize> TensorIter for [&'a Tensor; N]

source§

fn tensor_iter(&self) -> impl Iterator<Item = &Tensor>

source§

impl<A> TensorIter for (A,)
where A: TensorIter,

source§

fn tensor_iter(&self) -> impl Iterator<Item = &Tensor>

source§

impl<A, B> TensorIter for (A, B)
where A: TensorIter, B: TensorIter,

source§

fn tensor_iter(&self) -> impl Iterator<Item = &Tensor>

source§

impl<A, B, C> TensorIter for (A, B, C)
where A: TensorIter, B: TensorIter, C: TensorIter,

source§

fn tensor_iter(&self) -> impl Iterator<Item = &Tensor>

source§

impl<A, B, C, D> TensorIter for (A, B, C, D)

source§

fn tensor_iter(&self) -> impl Iterator<Item = &Tensor>

source§

impl<A, B, C, D, E> TensorIter for (A, B, C, D, E)

source§

fn tensor_iter(&self) -> impl Iterator<Item = &Tensor>

source§

impl<A, B, C, D, E, F> TensorIter for (A, B, C, D, E, F)

source§

fn tensor_iter(&self) -> impl Iterator<Item = &Tensor>

source§

impl<A, B, C, D, E, F, G> TensorIter for (A, B, C, D, E, F, G)

source§

fn tensor_iter(&self) -> impl Iterator<Item = &Tensor>

source§

impl<A, B, C, D, E, F, G, H> TensorIter for (A, B, C, D, E, F, G, H)

source§

fn tensor_iter(&self) -> impl Iterator<Item = &Tensor>

source§

impl<A, B, C, D, E, F, G, H, I> TensorIter for (A, B, C, D, E, F, G, H, I)

source§

fn tensor_iter(&self) -> impl Iterator<Item = &Tensor>

source§

impl<A, B, C, D, E, F, G, H, I, J> TensorIter for (A, B, C, D, E, F, G, H, I, J)

source§

fn tensor_iter(&self) -> impl Iterator<Item = &Tensor>

source§

impl<A, B, C, D, E, F, G, H, I, J, K> TensorIter for (A, B, C, D, E, F, G, H, I, J, K)

source§

fn tensor_iter(&self) -> impl Iterator<Item = &Tensor>

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L> TensorIter for (A, B, C, D, E, F, G, H, I, J, K, L)

source§

fn tensor_iter(&self) -> impl Iterator<Item = &Tensor>

source§

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

source§

fn tensor_iter(&self) -> impl Iterator<Item = &Tensor>

Implementors§