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

Method detail

imperative/src/impl/profiler/states.h:82–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 SmallVector<Execution> executions;
81
82 nlohmann::json detail() {
83 nlohmann::json args;
84 for (auto&& [name, value] : params) {
85 args[name] = value;
86 }
87 args["__id__"] = id;
88 args["__name__"] = name;
89 args["__device__"] = device.to_string();
90 return args;
91 }
92};
93
94template <typename TProp>

Callers

nothing calls this directly

Calls 1

to_stringMethod · 0.45

Tested by

no test coverage detected