Trait 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>

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.

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§