MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / LGBM_NetworkInit

Function LGBM_NetworkInit

src/c_api.cpp:1630–1644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1628}
1629
1630int LGBM_NetworkInit(const char* machines,
1631 int local_listen_port,
1632 int listen_time_out,
1633 int num_machines) {
1634 API_BEGIN();
1635 Config config;
1636 config.machines = Common::RemoveQuotationSymbol(std::string(machines));
1637 config.local_listen_port = local_listen_port;
1638 config.num_machines = num_machines;
1639 config.time_out = listen_time_out;
1640 if (num_machines > 1) {
1641 Network::Init(config);
1642 }
1643 API_END();
1644}
1645
1646int LGBM_NetworkFree() {
1647 API_BEGIN();

Callers

nothing calls this directly

Calls 1

RemoveQuotationSymbolFunction · 0.50

Tested by

no test coverage detected