pub fn ones_client<R>(
client: ComputeClient<R>,
device: <R as Runtime>::Device,
shape: Shape,
dtype: DType,
) -> RudaTensor<R>where
R: Runtime,Expand description
Creates a tensor filled with ones
pub fn ones_client<R>(
client: ComputeClient<R>,
device: <R as Runtime>::Device,
shape: Shape,
dtype: DType,
) -> RudaTensor<R>where
R: Runtime,Creates a tensor filled with ones