# tflite_support.metadata_schema_py_generated.BertTokenizerOptions

<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#L1273-L1317) |

## Methods

### `BertTokenizerOptionsBufferHasIdentifier`

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

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

### `GetRootAs`

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

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

### `GetRootAsBertTokenizerOptions`

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

```python
@classmethod
GetRootAsBertTokenizerOptions(
    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#L1292-L1293)

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

### `VocabFile`

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

```python
VocabFile(
    j
)
```

### `VocabFileIsNone`

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

```python
VocabFileIsNone()
```

### `VocabFileLength`

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

```python
VocabFileLength()
```