<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#L1390-L1458) |

## Methods

### `GetRootAs`

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

    @classmethod
    GetRootAs(
        buf, offset=0
    )

### `GetRootAsSentencePieceTokenizerOptions`

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

    @classmethod
    GetRootAsSentencePieceTokenizerOptions(
        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#L1409-L1410)

    Init(
        buf, pos
    )

### `SentencePieceModel`

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

    SentencePieceModel(
        j
    )

### `SentencePieceModelIsNone`

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

    SentencePieceModelIsNone()

### `SentencePieceModelLength`

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

    SentencePieceModelLength()

### `SentencePieceTokenizerOptionsBufferHasIdentifier`

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

    @classmethod
    SentencePieceTokenizerOptionsBufferHasIdentifier(
        buf, offset, size_prefixed=False
    )

### `VocabFile`

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

    VocabFile(
        j
    )

### `VocabFileIsNone`

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

    VocabFileIsNone()

### `VocabFileLength`

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

    VocabFileLength()