# TfLiteNode


`#include <common.h>`

A structure representing an instance of a node.

## Summary

This structure only exhibits the inputs, outputs, user defined data and some node properties (like statefulness), not other features like the type.

| ### Public attributes ||
|---|---|
| `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-node#struct_tf_lite_node_1aff1f8ea7dab2340d3fa9ec1a7b529918` | `void *` Opaque data provided to the node if the node is a builtin. |
| `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-node#struct_tf_lite_node_1aa1d200ff3b21ec2c855e9471e639e5a2` | `const void *` Custom initial data. |
| `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-node#struct_tf_lite_node_1a81687d360956a3388e0c8d446495f3a4` | `int` |
| `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-node#struct_tf_lite_node_1a4a1e6b47396e69375b1d4da5db85cbd5` | `struct https://developers.google.com/edge/api/tflite/c/struct/tf-lite-delegate#struct_tf_lite_delegate *` The pointer to the delegate. |
| `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-node#struct_tf_lite_node_1a6478a2fde56a7df96d7a68c140e4e4b7` | `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-int-array#struct_tf_lite_int_array *` Inputs to this node expressed as indices into the simulator's tensors. |
| `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-node#struct_tf_lite_node_1a0a5ac4c977729c1fca4412f30698c5e5` | `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-int-array#struct_tf_lite_int_array *` intermediate tensors to this node expressed as indices into the simulator's tensors. |
| `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-node#struct_tf_lite_node_1a74c8653d6b0287c2591ba0d4e45bbee2` | `bool` Whether this op might have side effect (e.g. stateful op). |
| `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-node#struct_tf_lite_node_1af4834a2c09a90b144859dd637105018e` | `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-int-array#struct_tf_lite_int_array *` Outputs to this node expressed as indices into the simulator's tensors. |
| `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-node#struct_tf_lite_node_1aea5a5ff7466b35f8e31c269b844702eb` | `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-int-array#struct_tf_lite_int_array *` Temporary tensors uses during the computations. |
| `https://developers.google.com/edge/api/tflite/c/struct/tf-lite-node#struct_tf_lite_node_1aef728ff402f774f7a3418f343ec5bcdb` | `void *` Opaque data provided by the node implementer through `Registration.init`. |

## Public attributes

### builtin_data

```javascript
void * TfLiteNode::builtin_data
```
Opaque data provided to the node if the node is a builtin.

This is usually a structure defined in builtin_op_data.h

### custom_initial_data

```javascript
const void * TfLiteNode::custom_initial_data
```
Custom initial data.

This is the opaque data provided in the flatbuffer.

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

### custom_initial_data_size

```javascript
int TfLiteNode::custom_initial_data_size
```

### delegate

```javascript
struct TfLiteDelegate * TfLiteNode::delegate
```
The pointer to the delegate.

This is non-null only when the node is created by calling `interpreter.ModifyGraphWithDelegate`.

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

### inputs

```javascript
TfLiteIntArray * TfLiteNode::inputs
```
Inputs to this node expressed as indices into the simulator's tensors.

### intermediates

```javascript
TfLiteIntArray * TfLiteNode::intermediates
```
intermediate tensors to this node expressed as indices into the simulator's tensors.

### might_have_side_effect

```javascript
bool TfLiteNode::might_have_side_effect
```
Whether this op might have side effect (e.g. stateful op).

### outputs

```javascript
TfLiteIntArray * TfLiteNode::outputs
```
Outputs to this node expressed as indices into the simulator's tensors.

### temporaries

```javascript
TfLiteIntArray * TfLiteNode::temporaries
```
Temporary tensors uses during the computations.

This usually contains no tensors, but ops are allowed to change that if they need scratch space of any sort.

### user_data

```javascript
void * TfLiteNode::user_data
```
Opaque data provided by the node implementer through `Registration.init`.