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

Function AllTensorKeys

tensorflow/core/kernels/embedding_variable_ops_test.cc:99–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99std::vector<string> AllTensorKeys(BundleReader* reader) {
100 std::vector<string> ret;
101 reader->Seek(kHeaderEntryKey);
102 reader->Next();
103 for (; reader->Valid(); reader->Next()) {
104 //ret.push_back(reader->key().ToString());
105 ret.push_back(std::string(reader->key()));
106 }
107 return ret;
108}
109
110TEST(EmbeddingVariableTest, TestEmptyEV) {
111 int64 value_size = 8;

Callers 1

TESTFunction · 0.70

Calls 5

SeekMethod · 0.45
NextMethod · 0.45
ValidMethod · 0.45
push_backMethod · 0.45
keyMethod · 0.45

Tested by

no test coverage detected