# tflite_support.metadata_schema_py_generated.ValueRange

<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#L726-L760) |

## Methods

### `GetRootAs`

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

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

### `GetRootAsValueRange`

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

```python
@classmethod
GetRootAsValueRange(
    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#L745-L746)

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

### `Max`

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

```python
Max()
```

### `Min`

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

```python
Min()
```

### `ValueRangeBufferHasIdentifier`

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

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