validate_tensor_shapes_match

Function validate_tensor_shapes_match 

Source
pub fn validate_tensor_shapes_match(
    shape1: &[usize],
    shape2: &[usize],
) -> PyResult<()>
Expand description

Validate that tensor dimensions match for operations