Function tvm::tirx::logaddexp(PrimExpr, PrimExpr, Location)

Function tvm::tirx::logaddexp(PrimExpr, PrimExpr, Location)#

Function Documentation#

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

Compute log(exp(a) + exp(b)).

Parameters:
  • a – Left operand.

  • b – Right operand.

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

Returns:

The result expression.