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

Method SetExternalContext

tensorflow/lite/core/subgraph.cc:379–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377}
378
379void Subgraph::SetExternalContext(TfLiteExternalContextType type,
380 TfLiteExternalContext* ctx) {
381 if (static_cast<int>(type) >= 0 && type < kTfLiteMaxExternalContexts) {
382 external_contexts_[type] = ctx;
383 }
384}
385
386void Subgraph::SetExternalContext(struct TfLiteContext* context,
387 TfLiteExternalContextType type,

Callers 2

IncrementUsageCounterFunction · 0.45
DecrementUsageCounterFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected