Skip to main content

TensorList

Trait TensorList 

Source
pub trait TensorList {
    // Required methods
    fn into_tensors(self) -> Vec<Tensor>;
    fn as_tensors(&self) -> &[Tensor];
}

Required Methods§

Implementations on Foreign Types§

Source§

impl TensorList for Vec<CompositeTensor>

Source§

impl TensorList for Vec<LeafTensor>

Source§

impl TensorList for Vec<Tensor>

Implementors§