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

Method Send

src/utils/channel.cc:77–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77void Channel::Send(const std::string& message) {
78 if (stderr_) fprintf(stderr, "%s\n", message.c_str());
79 if (file_ && os_.is_open()) os_ << message << "\n";
80 // TODO(wangwei) flush
81}
82
83void Channel::Send(const google::protobuf::Message& message) {
84 if (stderr_) fprintf(stderr, "%s\n", message.DebugString().c_str());

Callers 3

TrainMethod · 0.45
TrainOneEpochFunction · 0.45
TestOneEpochFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestOneEpochFunction · 0.36