Back to Tensorflow

TfLiteOpaqueDelegateParams

tensorflow/lite/g3doc/api_docs/c/struct/tf-lite-opaque-delegate-params.html

2.21.01.5 KB
Original Source

TfLiteOpaqueDelegateParams

#include <common.h>

WARNING: This is an experimental interface that is subject to change.

Summary

Currently, TfLiteOpaqueDelegateParams 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 CreateOpaqueDelegateParams function in subgraph.cc details.

|

Public attributes

| | --- | | delegate | TfLiteOpaqueDelegate * | | delegate_data | void * | | input_tensors | TfLiteIntArray * | | nodes_to_replace | TfLiteIntArray * | | output_tensors | TfLiteIntArray * |

Public attributes

delegate

[TfLiteOpaqueDelegate](/lite/api_docs/c/group/c-api-types.html#group __c__ api__types_1gac2bc3e65b2b4dfe997134c006faa442f)* TfLiteOpaqueDelegateParams::delegate

delegate_data

void * TfLiteOpaqueDelegateParams::delegate_data

input_tensors

[TfLiteIntArray](/lite/api_docs/c/struct/tf-lite-int-array.html#struct_tf_lite_int_array)* TfLiteOpaqueDelegateParams::input_tensors

nodes_to_replace

[TfLiteIntArray](/lite/api_docs/c/struct/tf-lite-int-array.html#struct_tf_lite_int_array)* TfLiteOpaqueDelegateParams::nodes_to_replace

output_tensors

[TfLiteIntArray](/lite/api_docs/c/struct/tf-lite-int-array.html#struct_tf_lite_int_array)* TfLiteOpaqueDelegateParams::output_tensors