Skip to main content

empty_device

Function empty_device 

Source
pub fn empty_device<R, E>(
    client: ComputeClient<R>,
    device: <R as Runtime>::Device,
    shape: Shape,
) -> RudaTensor<R>
where R: Runtime, E: TensorElement,
Expand description

Create a tensor with uninitialized memory