Expand description
Utilities related to bit manipulation of tensor elements.
Functionsยง
- flip_
bits - Flips the bits in
numfromith position to(n-i)th position. - get_bit
- Get the
bit_indexbit value fromnum. - get_
flat_ index - Get the index into an Op matrix
- set_bit
- Set the
bit_indexbit innumtovalue.