Skip to main content

create_shape_error

Function create_shape_error 

Source
pub fn create_shape_error(
    expected: &[usize],
    actual: &[usize],
    operation: &str,
) -> PyErr
Expand description

Utility function to create tensor shape errors with helpful suggestions