# tflite_support.metadata_schema_py_generated.TensorMetadata

<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#L2084-L2206) |

## Methods

### `AssociatedFiles`

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

```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#L2204-L2206)

```python
AssociatedFilesIsNone()
```

### `AssociatedFilesLength`

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

```python
AssociatedFilesLength()
```

### `Content`

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

```python
Content()
```

### `Description`

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

```python
Description()
```

### `DimensionNames`

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

```python
DimensionNames(
    j
)
```

### `DimensionNamesIsNone`

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

```python
DimensionNamesIsNone()
```

### `DimensionNamesLength`

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

```python
DimensionNamesLength()
```

### `GetRootAs`

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

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

### `GetRootAsTensorMetadata`

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

```python
@classmethod
GetRootAsTensorMetadata(
    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#L2103-L2104)

```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#L2107-L2111)

```python
Name()
```

### `ProcessUnits`

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

```python
ProcessUnits(
    j
)
```

### `ProcessUnitsIsNone`

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

```python
ProcessUnitsIsNone()
```

### `ProcessUnitsLength`

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

```python
ProcessUnitsLength()
```

### `Stats`

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

```python
Stats()
```

### `TensorMetadataBufferHasIdentifier`

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

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