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

Method info

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

Source from the content-addressed store, hash-verified

36 }
37
38 std::string info(HostTime current_time) {
39 std::string shape = layout.TensorShape::to_string();
40 std::string dtype = layout.dtype.name();
41 return ssprintf(
42 "%s(%s:%s:%s)", name.c_str(), shape.c_str(), dtype.c_str(),
43 device.to_string().c_str());
44 }
45
46 nlohmann::json detail(HostTime current_time) {
47 nlohmann::json args;

Callers 15

mainFunction · 0.45
make_data_given_descFunction · 0.45
run_modelFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
metadataMethod · 0.45
dumpMethod · 0.45
merge_trace_eventsFunction · 0.45
print_op_statsFunction · 0.45
print_param_statsFunction · 0.45
print_activations_statsFunction · 0.45
print_summaryFunction · 0.45

Calls 2

nameMethod · 0.45
to_stringMethod · 0.45

Tested by

no test coverage detected