Open ashutoshIITK opened 1 year ago
I have an NDArray (say idmap1) and would like to compare it with a number to get a boolean mask (numpy boolean style), as shown below:
mask = ((idmap1 == 0) & (idmap2 != 1)) idmap1[mask] = idmap2[mask]
Is there a way to realize this using multik library? Thank you!
I have an NDArray (say idmap1) and would like to compare it with a number to get a boolean mask (numpy boolean style), as shown below:
Is there a way to realize this using multik library? Thank you!