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

Method subgraph

tensorflow/lite/interpreter.h:487–492  ·  view source on GitHub ↗

Get a pointer to a subgraph if in bounds. WARNING: This is an experimental API and subject to change.

Source from the content-addressed store, hash-verified

485 /// Get a pointer to a subgraph if in bounds.
486 /// WARNING: This is an experimental API and subject to change.
487 Subgraph* subgraph(int subgraph_index) {
488 if (subgraph_index < 0 ||
489 static_cast<size_t>(subgraph_index) >= subgraphs_size())
490 return nullptr;
491 return &*subgraphs_[subgraph_index];
492 }
493
494 /// WARNING: Experimental interface, subject to change
495 Subgraph& primary_subgraph() {

Callers 7

operator()Method · 0.80
GetSubgraphMethod · 0.80
GetSubgraphMethod · 0.80
GetSubgraphMethod · 0.80
TEST_FFunction · 0.80
SetUpMethod · 0.80
SetUpMethod · 0.80

Calls

no outgoing calls

Tested by 6

GetSubgraphMethod · 0.64
GetSubgraphMethod · 0.64
GetSubgraphMethod · 0.64
TEST_FFunction · 0.64
SetUpMethod · 0.64
SetUpMethod · 0.64