it checks dimensions and strides are equal