Example #1
0
 def __invert__(self):  # ~a => a.__invert__()
     import taichi as ti
     return ti.bit_not(self)
Example #2
0
 def __invert__(self):  # ~a => a.__invert__()
     _taichi_skip_traceback = 1
     return ti.bit_not(self)