Open kordejong opened 3 months ago
In case of where(condition, np.uint8(1), np.uint8(0)) the resulting array contains int32_t elements, instead of uint8_t elements.
where(condition, np.uint8(1), np.uint8(0))
int32_t
uint8_t
In case of
where(condition, np.uint8(1), np.uint8(0))
the resulting array containsint32_t
elements, instead ofuint8_t
elements.