# tflite_support.metadata_schema_py_generated.ModelMetadata

<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#L2990-L3100) |

## Methods

### `AssociatedFiles`

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

```python
AssociatedFiles(
    j
)
```

### `AssociatedFilesIsNone`

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

```python
AssociatedFilesIsNone()
```

### `AssociatedFilesLength`

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

```python
AssociatedFilesLength()
```

### `Author`

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

```python
Author()
```

### `Description`

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

```python
Description()
```

### `GetRootAs`

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

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

### `GetRootAsModelMetadata`

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

```python
@classmethod
GetRootAsModelMetadata(
    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#L3009-L3010)

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

### `License`

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

```python
License()
```

### `MinParserVersion`

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

```python
MinParserVersion()
```

### `ModelMetadataBufferHasIdentifier`

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

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

### `Name`

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

```python
Name()
```

### `SubgraphMetadata`

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

```python
SubgraphMetadata(
    j
)
```

### `SubgraphMetadataIsNone`

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

```python
SubgraphMetadataIsNone()
```

### `SubgraphMetadataLength`

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

```python
SubgraphMetadataLength()
```

### `Version`

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

```python
Version()
```