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
delegate_data
void *
input_tensors
nodes_to_replace
output_tensors

Public attributes

delegate

TfLiteOpaqueDelegate * TfLiteOpaqueDelegateParams::delegate

delegate_data

void * TfLiteOpaqueDelegateParams::delegate_data

input_tensors

TfLiteIntArray * TfLiteOpaqueDelegateParams::input_tensors

nodes_to_replace

TfLiteIntArray * TfLiteOpaqueDelegateParams::nodes_to_replace

output_tensors

TfLiteIntArray * TfLiteOpaqueDelegateParams::output_tensors