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

Method ~BundleReader

tensorflow/core/util/tensor_bundle/tensor_bundle.cc:935–947  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

933}
934
935BundleReader::~BundleReader() {
936 delete metadata_;
937 delete iter_;
938 delete table_;
939 // InputBuffer does not own the underlying RandomAccessFile.
940 for (auto pair : data_) {
941 if (pair.second != nullptr && pair.second->file() != nullptr) {
942 delete pair.second->file();
943 }
944 }
945 gtl::STLDeleteValues(&data_);
946 gtl::STLDeleteValues(&tensor_slices_);
947}
948
949Status BundleReader::GetBundleEntryProto(StringPiece key,
950 BundleEntryProto* entry) {

Callers

nothing calls this directly

Calls 2

STLDeleteValuesFunction · 0.85
fileMethod · 0.45

Tested by

no test coverage detected