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

Method ERF>

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

Source from the content-addressed store, hash-verified

112//! ERF: gauss error function
113template <>
114mlir::Value lower_mode<Mode::ERF>(
115 mlir::OpBuilder& builder, mlir::Location loc, ValueRange operands) {
116 ValueBuilderHelper helper(builder, loc);
117 return erf_approx(helper, operands[0]);
118}
119
120//! EXPM1: exp(x) - 1
121template <>

Callers

nothing calls this directly

Calls 1

erf_approxFunction · 0.85

Tested by

no test coverage detected