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

Method FlushBuffer

tensorflow/core/util/tensor_bundle/tensor_bundle.cc:1424–1430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1422}
1423
1424Status FileOutputBuffer::FlushBuffer() {
1425 if (position_ > 0) {
1426 TF_RETURN_IF_ERROR(file_->Append(StringPiece(&buffer_[0], position_)));
1427 position_ = 0;
1428 }
1429 return Status::OK();
1430}
1431
1432SegmentBundleWriter::SegmentBundleWriter(
1433 BundleWriter* writer, const string& name,

Callers

nothing calls this directly

Calls 1

AppendMethod · 0.45

Tested by

no test coverage detected