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

Method Open

src/io/binfile_writer.cc:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22namespace singa {
23namespace io {
24bool BinFileWriter::Open(const std::string& path, Mode mode) {
25 path_ = path;
26 mode_ = mode;
27 return OpenFile();
28}
29
30bool BinFileWriter::Open(const std::string& path, Mode mode, int capacity) {
31 CHECK(!fdat_.is_open());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected