Function mindspore::dataset::BitTest

Function Documentation

inline bool mindspore::dataset::BitTest(uint32_t bits, uint32_t bitMask)

Convenience function to check bitmask for a 32bit int.

Parameters
  • bits[in] a 32bit int to be tested

  • bitMask[in] a 32bit int representing bit mask

Returns

bool Result for the check