Introducing Google AI Edge Portal: Benchmark Edge AI at scale. Sign-up to request access during private preview.

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
nodes_to_replace
output_tensors

Public attributes

delegate

struct TfLiteDelegate * TfLiteDelegateParams::delegate

input_tensors

TfLiteIntArray * TfLiteDelegateParams::input_tensors

nodes_to_replace

TfLiteIntArray * TfLiteDelegateParams::nodes_to_replace

output_tensors

TfLiteIntArray * TfLiteDelegateParams::output_tensors

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024年05月10日 UTC.