Function tvm::bitwise_neg

Function tvm::bitwise_neg#

Function Documentation#

PrimExpr tvm::bitwise_neg(PrimExpr a, Location loc = UnknownLoc())#

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.

  • loc – The location of this operation in the source.

Returns:

The result expression.