# tflite_support.metadata_schema_py_generated.CustomMetadata

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L2363-L2417) |

## Methods

### `CustomMetadataBufferHasIdentifier`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L2377-L2379)

```python
@classmethod
CustomMetadataBufferHasIdentifier(
    buf, offset, size_prefixed=False
)
```

### `Data`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L2393-L2398)

```python
Data(
    j
)
```

### `DataAsNumpy`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L2401-L2405)

```python
DataAsNumpy()
```

### `DataIsNone`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L2415-L2417)

```python
DataIsNone()
```

### `DataLength`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L2408-L2412)

```python
DataLength()
```

### `GetRootAs`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L2366-L2371)

```python
@classmethod
GetRootAs(
    buf, offset=0
)
```

### `GetRootAsCustomMetadata`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L2373-L2376)

```python
@classmethod
GetRootAsCustomMetadata(
    buf, offset=0
)
```

This method is deprecated. Please switch to GetRootAs.

### `Init`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L2382-L2383)

```python
Init(
    buf, pos
)
```

### `Name`

[View source](https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/metadata/metadata_schema_py_generated.py#L2386-L2390)

```python
Name()
```