An external context is a collection of information unrelated to the TF Lite framework, but useful to a subset of the ops.
Summary
TF Lite knows very little about the actual contexts, but it keeps a list of them, and is able to refresh them if configurations like the number of recommended threads change.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-10 UTC."],[],[],null,["# TfLiteExternalContext Struct Reference\n\nTfLiteExternalContext\n=====================\n\n\n`#include \u003ccommon.h\u003e`\n\nAn external context is a collection of information unrelated to the TF Lite framework, but useful to a subset of the ops.\n\nSummary\n-------\n\nTF Lite knows very little about the actual contexts, but it keeps a list of them, and is able to refresh them if configurations like the number of recommended threads change.\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------------------------|-----------------------------|\n| [Refresh](#struct_tf_lite_external_context_1ab74f92fa424495126f964a409d0bba10)`)(struct TfLiteContext *context)` | `TfLiteStatus(*` |\n| [type](#struct_tf_lite_external_context_1a22bbe8229d57cd397e4ef3f8b9a03e61) | `TfLiteExternalContextType` |\n\nPublic attributes\n-----------------\n\n### Refresh\n\n```scdoc\nTfLiteStatus(* TfLiteExternalContext::Refresh)(struct TfLiteContext *context)\n``` \n\n### type\n\n```carbon\nTfLiteExternalContextType TfLiteExternalContext::type\n```"]]