Skip to main content

TensorStorageOwned

Trait TensorStorageOwned 

Source
pub trait TensorStorageOwned: TensorStorageMut {
    // Required method
    fn resize(&mut self, length: usize);
}

Required Methods§

Source

fn resize(&mut self, length: usize)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl TensorStorageOwned for f64

Source§

fn resize(&mut self, length: usize)

Source§

impl<'a> TensorStorageOwned for Vec<f64>

Source§

fn resize(&mut self, length: usize)

Source§

impl<const L: usize> TensorStorageOwned for [f64; L]

Source§

fn resize(&mut self, length: usize)

Implementors§