MCPcopy Create free account
hub / github.com/apache/singa / SetChannelDirectory

Function SetChannelDirectory

src/utils/channel.cc:94–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void SetChannelDirectory(const char* path) {
95 ChannelManager* mng = Singleton<ChannelManager>().Instance();
96 mng->SetDefaultDir(path);
97}
98
99Channel* GetChannel(const std::string& channel_name) {
100 ChannelManager* mng = Singleton<ChannelManager>().Instance();

Callers 1

TESTFunction · 0.85

Calls 2

InstanceMethod · 0.80
SetDefaultDirMethod · 0.80

Tested by 1

TESTFunction · 0.68