MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Writable

Function Writable

tensorflow/lite/toco/toco_port.cc:87–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87tensorflow::Status Writable(const string& filename) {
88 File* f = nullptr;
89 const auto status = ::file::Open(filename, "w", &f, ::file::Defaults());
90 if (f) {
91 QCHECK_OK(f->Close(::file::Defaults()));
92 }
93 return ToStatus(status);
94}
95
96tensorflow::Status Readable(const string& filename,
97 const file::Options& options) {

Callers 1

Calls 6

DefaultsFunction · 0.85
NotFoundFunction · 0.85
c_strMethod · 0.80
ToStatusFunction · 0.70
fopenFunction · 0.50
CloseMethod · 0.45

Tested by

no test coverage detected