MCPcopy Create free account
hub / github.com/dhbloo/rapfi / exportModel

Function exportModel

Rapfi/command/gomocup.cpp:1223–1231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1221}
1222
1223void exportModel()
1224{
1225 auto modelPath = readPathFromInput();
1226 std::ofstream modelFile(modelPath, std::ios::binary);
1227 if (!modelFile.is_open())
1228 ERRORL("Unable to open weight file: " << modelPath);
1229 else
1230 Config::exportModel(modelFile);
1231}
1232
1233void loadModel()
1234{

Callers 2

tuningMethod · 0.85
runProtocolFunction · 0.85

Calls 1

readPathFromInputFunction · 0.85

Tested by

no test coverage detected