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

Method to_string

src/core/impl/utils/json.cpp:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30} // anonymous namespace
31
32std::string Value::to_string(int indent) const {
33 std::string ostr;
34 writeto(ostr, indent);
35 return ostr;
36}
37
38void Value::writeto_fpath(const char* fout_path, int indent) const {
39 auto str = to_string(indent);

Callers 15

scn_do_executeMethod · 0.45
check_tensor_value_validFunction · 0.45
run_testFunction · 0.45
write_statusMethod · 0.45
format_msgMethod · 0.45
to_jsonMethod · 0.45
check_var_after_execMethod · 0.45
updateMethod · 0.45
sync_value_fromMethod · 0.45
dump_varMethod · 0.45
checkMethod · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 3

run_testFunction · 0.36
TESTFunction · 0.36
runMethod · 0.36