PyErr_Format(PyExc_TypeError, "need same number of dims. destination nd=%d, source nd=%d", self->nd, other->nd);
PyErr_Format(PyExc_NotImplementedError, "need same number of dims. destination nd=%d, source nd=%d. No broadcasting implemented.", self->nd, other->nd);
return -1;
return -1;
}
}
//standard elemwise dim checks (also compute total size)
//standard elemwise dim checks (also compute total size)