MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / select

Method select

src/jit/impl/mlir/ir/common.cpp:98–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96/* ===================== select function ===================== */
97
98mlir::Value ValueBuilderHelper::select(
99 mlir::Value cond, mlir::Value true_val, mlir::Value false_val) {
100 return m_builder.create<mlir::SelectOp>(m_location, cond, true_val, false_val);
101}
102
103/* ===================== helper functions ===================== */
104

Callers 14

atan2_approxFunction · 0.45
erf_approxFunction · 0.45
ndtri_approxFunction · 0.45
ROUND>Method · 0.45
ABS_GRAD>Method · 0.45
EQ>Method · 0.45
H_SWISH_GRAD>Method · 0.45
LEQ>Method · 0.45
LT>Method · 0.45
SWITCH_GT0>Method · 0.45
COND_LEQ_MOV>Method · 0.45
COND_LT_MOV>Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected