Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ code_gen
Method
code_gen
src/jit/include/megbrain/jit/ast_c.h:144–147 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
142
m_false{std::move(false_)} {}
143
144
std::string code_gen() override {
145
return
"("
+ m_cond->code_gen() +
" ? "
+ m_true->code_gen() +
" : "
+
146
m_false->code_gen() +
")"
;
147
}
148
};
149
150
class DeclFloatAST : public AST {
Callers
nothing calls this directly
Calls
1
code_gen
Method · 0.45
Tested by
no test coverage detected