pub fn validate_binary_op<T1, T2>(
a: &Array<T1>,
b: &Array<T2>,
op_name: &str,
) -> Result<()>where
T1: DTypeValue,
T2: DTypeValue,Expand description
Valida que dos arrays puedan operarse juntos
Verifica:
- Que los shapes sean compatibles
- Que los dtypes sean compatibles