Back to Tensorflow

TfLiteDelegateParams

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

2.21.01.3 KB
Original Source

TfLiteDelegateParams

#include <common.h>

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.

|

Public attributes

| | --- | | delegate | struct TfLiteDelegate * | | input_tensors | TfLiteIntArray * | | nodes_to_replace | TfLiteIntArray * | | output_tensors | TfLiteIntArray * |

Public attributes

delegate

struct[TfLiteDelegate](/lite/api_docs/c/struct/tf-lite-delegate.html#struct_tf_lite_delegate)* TfLiteDelegateParams::delegate

input_tensors

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

nodes_to_replace

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

output_tensors

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