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

Method GetExternalContext

tensorflow/lite/core/subgraph.cc:366–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364}
365
366TfLiteExternalContext* Subgraph::GetExternalContext(
367 TfLiteExternalContextType type) {
368 if (static_cast<int>(type) >= 0 && type < kTfLiteMaxExternalContexts) {
369 return external_contexts_[type];
370 }
371 return nullptr;
372}
373
374TfLiteExternalContext* Subgraph::GetExternalContext(
375 struct TfLiteContext* context, TfLiteExternalContextType type) {

Callers 4

GetMethod · 0.80
GetEigenContextFunction · 0.80
GetFromContextMethod · 0.80

Calls

no outgoing calls

Tested by 1

GetMethod · 0.64