Function to_device

Source
pub fn to_device(x: &Tensor, device: impl AsDevice) -> Tensor