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

Method getPackedParams

imperative/tablegen/helper.h:165–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163 return getDef().getValueAsOptionalString("extraOpdefDecl");
164 }
165 std::vector<MgbPackedParam> getPackedParams() const {
166 std::vector<MgbPackedParam> ret;
167 for (auto&& i : getDef().getValueAsListOfDefs("dnnParams")) {
168 if (isPackedParam(i)) {
169 ret.emplace_back(i);
170 }
171 }
172 return ret;
173 }
174 std::string getNameFunctionTemplate() const {
175 if (auto f = getDef().getValueAsOptionalString("nameFunction")) {
176 return f.getValue().str();

Callers 1

emit_headerMethod · 0.80

Calls 1

emplace_backMethod · 0.80

Tested by

no test coverage detected