Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ writeto_fpath
Method
writeto_fpath
src/core/impl/utils/json.cpp:38–41 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
36
}
37
38
void Value::writeto_fpath(const char* fout_path, int indent) const {
39
auto str = to_string(indent);
40
debug::write_to_file(fout_path, str);
41
}
42
43
void Number::writeto(std::string& fout, int) const {
44
if (std::isinf(m_val)) {
Callers
15
output_plugin_result
Method · 0.45
config_model_internel<ModelMdl>
Method · 0.45
run_test
Function · 0.45
on_var_produced
Method · 0.45
do_train
Method · 0.45
TEST
Function · 0.45
TEST
Function · 0.45
TEST
Function · 0.45
test_free_memory_in_weight_preprocess
Function · 0.45
draw_graph
Method · 0.45
write_to_file
Method · 0.45
TEST
Function · 0.45
Calls
1
to_string
Function · 0.85
Tested by
15
run_test
Function · 0.36
do_train
Method · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
test_free_memory_in_weight_preprocess
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36