Function tvm::left_shift(PrimExpr, PrimExpr, Location)

Function tvm::left_shift(PrimExpr, PrimExpr, Location)#

Function Documentation#

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

left shift operator

Note

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

Parameters:
  • a – left operand

  • b – right operand

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

Returns:

The result expression.