pub trait TensorIter: Debug {
    // 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 &Vec<Tensor>

source§

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

source§

impl TensorIter for &[Tensor]

source§

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

source§

impl TensorIter for Vec<Tensor>

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>

source§

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

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>

source§

impl<const N: usize, const M: usize> TensorIter for (&[Tensor; N], &[&[Tensor; M]])

source§

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

source§

impl<const N: usize, const M: usize> TensorIter for (&[Tensor; N], &[Tensor; M])

source§

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

source§

impl<const N: usize, const M: usize> TensorIter for ([Tensor; N], [Tensor; M])

source§

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

source§

impl<const N: usize, const M: usize, const R: usize> TensorIter for (&[Tensor; N], [&[Tensor; M]; R])

source§

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

source§

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

source§

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

Implementors§