MCPcopy Create free account
hub / github.com/MegEngine/MegCC / get_format

Function get_format

compiler/lib/KernelGen/BareMetal/ConvBackDataKernel.cpp:70–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 )";
69}
70std::string get_format(TContext* ctx) {
71 auto format_str = ctx->getAttrStr("format");
72 return format_str;
73}
74
75std::string get_src_foramt(const std::string& filter_format) {
76 return filter_format;

Callers 2

GetKernelSymbolMethod · 0.70
GetKernelBodyMethod · 0.70

Calls 1

getAttrStrMethod · 0.80

Tested by

no test coverage detected