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

Method Produce

tensorflow/core/framework/hash_table/tensor_generator.cc:33–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void TensorGenerator::Produce() {
34 Ref();
35 spin_rd_lock l(&spin_mu_);
36 producer_([this] (Status st, const Tensor& result) {
37 Enque(st, result);
38 Unref();
39 });
40}
41
42void TensorGenerator::Enque(Status st, const Tensor& tensor) {
43 std::function<void(Status, const Tensor&)> done = nullptr;

Callers 3

TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 3

TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36