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

Method update

tensorflow/core/framework/embedding/cache.h:23–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 BatchCache() {}
22 virtual ~BatchCache() {}
23 void update(const Tensor& t) {
24 update((K*)t.data(), t.NumElements());
25 }
26 void add_to_prefetch_list(const Tensor& t) {
27 add_to_prefetch_list((K*)t.data(), t.NumElements());
28 }

Callers

nothing calls this directly

Calls 3

updateFunction · 0.50
dataMethod · 0.45
NumElementsMethod · 0.45

Tested by

no test coverage detected