train_test_split

Function train_test_split 

Source
pub fn train_test_split(
    x: &Tensor,
    y: &Tensor,
    test_size: f32,
    shuffle: bool,
) -> (Tensor, Tensor, Tensor, Tensor)
Expand description

Train-test split utility