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

Method StringSource

tensorflow/core/lib/io/table_test.cc:120–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118class StringSource : public RandomAccessFile {
119 public:
120 explicit StringSource(const StringPiece& contents)
121 : contents_(contents.data(), contents.size()), bytes_read_(0) {}
122
123 ~StringSource() override {}
124

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected