into_contiguous_pitched_ref

Function into_contiguous_pitched_ref 

Source
pub fn into_contiguous_pitched_ref<R: Runtime>(
    client: &ComputeClient<R>,
    input: &TensorHandleRef<'_, R>,
    dtype: StorageType,
) -> Result<TensorHandle<R>, LaunchError>
Expand description

Make a jit tensor contiguous, using the pitched allocator if available. See create_tensor.