[−][src]Trait tensor_compute::Constructable
Required methods
fn from_data(vec: Vec<f32>) -> Self
fn from_data_and_shape(vec: Vec<f32>, shape: Vec<usize>)
#[must_use]fn zeros<'async_trait>(
shape: Vec<usize>
) -> Pin<Box<dyn Future<Output = Self> + 'async_trait>> where
Self: 'async_trait,
shape: Vec<usize>
) -> Pin<Box<dyn Future<Output = Self> + 'async_trait>> where
Self: 'async_trait,
#[must_use]fn rand<'async_trait>(
shape: Vec<usize>
) -> Pin<Box<dyn Future<Output = Self> + 'async_trait>> where
Self: 'async_trait,
shape: Vec<usize>
) -> Pin<Box<dyn Future<Output = Self> + 'async_trait>> where
Self: 'async_trait,
#[must_use]fn clone_async<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Self> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self
) -> Pin<Box<dyn Future<Output = Self> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Provided methods
#[must_use]fn zeros_like<'life0, 'async_trait>(
other: &'life0 Self
) -> Pin<Box<dyn Future<Output = Self> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
other: &'life0 Self
) -> Pin<Box<dyn Future<Output = Self> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,