Skip to main content

ones_client

Function ones_client 

Source
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