MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / ATAN2>

Method ATAN2>

src/jit/impl/mlir/ir/each_mode.cpp:206–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204//! ATAN2
205template <>
206mlir::Value lower_mode<Mode::ATAN2>(
207 mlir::OpBuilder& builder, mlir::Location loc, ValueRange operands) {
208 ValueBuilderHelper helper(builder, loc);
209 return atan2_approx(helper, operands[0], operands[1]);
210}
211
212//! EQ: x == y ? 1 : 0
213template <>

Callers

nothing calls this directly

Calls 1

atan2_approxFunction · 0.85

Tested by

no test coverage detected