Add uint32 and uint64 kernel support for `Invert` (#15154)
* Add uint32 and uint64 kernel support for `Invert` This fix adds uint32 and uint64 kernel support for `Invert`. In bitwise_ops.cc, uint32 and uint64 have been registered for `Invert` like other bitwise ops `BitwiseAnd`/`BitwiseOr`/`BitwiseXor`/`LeftShift`/`RightShift`. However, no uint32 and uint64 kernels available for `Invert` yet. This fix add uint32 and uint64 kernel for `Invert`, and adds additional test cases to cover the changes. Signed-off-by:Yong Tang <yong.tang.github@outlook.com> * Add test cases for uint32 and uint64 support with `Invert` Signed-off-by:
Yong Tang <yong.tang.github@outlook.com> * Add missing uint32 and uint64 in GPU for invert Signed-off-by:
Yong Tang <yong.tang.github@outlook.com> * Add DEFINE_UNARY8 for invert Signed-off-by:
Yong Tang <yong.tang.github@outlook.com>
Loading
Please sign in to comment