Function tvm::operator~(PrimExpr)

Function tvm::operator~(PrimExpr)#

Function Documentation#

PrimExpr tvm::operator~(PrimExpr a)#

take bitwise negation of two values

Note

this function does eager constant folding for index types(int32, int64) when possible.

Parameters:

a – the input expression.

Returns:

The result expression.