WARNING: This is an experimental interface that is subject to change.
Summary
Currently, TfLiteDelegateParams has to be allocated in a way that it's trivially destructable. It will be stored as builtin_data field in TfLiteNode of the delegate node.
See also the CreateDelegateParams function in interpreter.cc details.
[[["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,["# TfLiteDelegateParams Struct Reference\n\nTfLiteDelegateParams\n====================\n\n\n`#include \u003ccommon.h\u003e`\n\nWARNING: This is an experimental interface that is subject to change.\n\nSummary\n-------\n\nCurrently, [TfLiteDelegateParams](/edge/api/tflite/c/struct/tf-lite-delegate-params#struct_tf_lite_delegate_params) has to be allocated in a way that it's trivially destructable. It will be stored as `builtin_data` field in [TfLiteNode](/edge/api/tflite/c/struct/tf-lite-node#struct_tf_lite_node) of the delegate node.\n\nSee also the `CreateDelegateParams` function in `interpreter.cc` details.\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|\n| [delegate](#struct_tf_lite_delegate_params_1a5cdf68982baff1ed62955571d3949b7a) | `struct `[TfLiteDelegate](/edge/api/tflite/c/struct/tf-lite-delegate#struct_tf_lite_delegate)` *` |\n| [input_tensors](#struct_tf_lite_delegate_params_1aefc34d7cc88d4c352bae1a4d428c2e97) | [TfLiteIntArray](/edge/api/tflite/c/struct/tf-lite-int-array#struct_tf_lite_int_array)` *` |\n| [nodes_to_replace](#struct_tf_lite_delegate_params_1a75e64c392d7ef2d62d85cb9963a915f1) | [TfLiteIntArray](/edge/api/tflite/c/struct/tf-lite-int-array#struct_tf_lite_int_array)` *` |\n| [output_tensors](#struct_tf_lite_delegate_params_1a576c0111aae50b9d4d82d6dde7c37d93) | [TfLiteIntArray](/edge/api/tflite/c/struct/tf-lite-int-array#struct_tf_lite_int_array)` *` |\n\nPublic attributes\n-----------------\n\n### delegate\n\n```scdoc\nstruct TfLiteDelegate * TfLiteDelegateParams::delegate\n``` \n\n### input_tensors\n\n```scdoc\nTfLiteIntArray * TfLiteDelegateParams::input_tensors\n``` \n\n### nodes_to_replace\n\n```scdoc\nTfLiteIntArray * TfLiteDelegateParams::nodes_to_replace\n``` \n\n### output_tensors\n\n```scdoc\nTfLiteIntArray * TfLiteDelegateParams::output_tensors\n```"]]