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

Function IsReady

tensorflow/lite/delegates/gpu/cl/inference_context.cc:43–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41
42namespace {
43bool IsReady(const std::unordered_set<ValueId>& ready_tensors,
44 const CLNode& node) {
45 for (const ValueId in_id : node.inputs) {
46 if (ready_tensors.find(in_id) == ready_tensors.end()) {
47 return false;
48 }
49 }
50 return true;
51}
52
53std::vector<std::pair<ValueId, TensorDescriptor>> GetCLNodeTensors(
54 const CLNode& node) {

Callers 2

MergeMethod · 0.85
RecordMethod · 0.85

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected