reshape_action

Function reshape_action 

Source
pub fn reshape_action(
    shape: &[usize],
    strides: &[usize],
    shape_new: &[usize],
) -> ReshapeAction
Expand description

Returns the proper action to take when reshaping a tensor.