tvm_tirx::ir::prim::op

Function pow

Source
pub fn pow(x: impl IntoExpr, y: impl IntoExpr) -> Result<Expr>
Expand description

x to the power y, of two matched floats (C++ pow, prim._OpPow). C++ also logs a warning for a constant exponent of 3 or more, which is not repeated here.