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

Function RemoveKey

tensorflow/core/kernels/embedding_variable_ops_test.cc:1304–1309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1302}
1303
1304void RemoveKey(EmbeddingVar<int64, float>* variable) {
1305 for (int64 i = 0; i < 10; i++) {
1306 sleep(1);
1307 variable->storage()->Remove(20);
1308 }
1309}
1310
1311TEST(EmbeddingVariableTest, TestLookupRemoveConcurrency) {
1312 int value_size = 10;

Callers

nothing calls this directly

Calls 3

sleepFunction · 0.85
storageMethod · 0.80
RemoveMethod · 0.45

Tested by

no test coverage detected