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

Function ReadEventProto

tensorflow/core/util/events_writer_test.cc:54–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54static bool ReadEventProto(io::RecordReader* reader, uint64* offset,
55 Event* proto) {
56 string record;
57 Status s = reader->ReadRecord(offset, &record);
58 if (!s.ok()) {
59 return false;
60 }
61 return ParseProtoUnlimited(proto, record);
62}
63
64void VerifyFile(const string& filename) {
65 CHECK(env()->FileExists(filename).ok());

Callers 1

VerifyFileFunction · 0.85

Calls 3

ParseProtoUnlimitedFunction · 0.85
ReadRecordMethod · 0.45
okMethod · 0.45

Tested by

no test coverage detected