<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.21.0/tensorflow/python/ops/parsing_config.py#L44-L51) |

Configuration for parsing a variable-length input feature.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.VarLenFeature`](https://www.tensorflow.org/api_docs/python/tf/io/VarLenFeature), [`tf.compat.v1.io.VarLenFeature`](https://www.tensorflow.org/api_docs/python/tf/io/VarLenFeature)

<br />

    tf.io.VarLenFeature(
        dtype
    )

### Used in the notebooks

| Used in the tutorials |
|---|
| - [Introduction to Fairness Indicators](https://www.tensorflow.org/responsible_ai/fairness_indicators/tutorials/Fairness_Indicators_Example_Colab) - [Fairness Indicators TensorBoard Plugin Example Colab](https://www.tensorflow.org/responsible_ai/fairness_indicators/tutorials/Fairness_Indicators_TensorBoard_Plugin_Example_Colab) - [Fairness Indicators on TF-Hub Text Embeddings](https://www.tensorflow.org/responsible_ai/fairness_indicators/tutorials/Fairness_Indicators_on_TF_Hub_Text_Embeddings) - [Graph-based Neural Structured Learning in TFX](https://www.tensorflow.org/tfx/tutorials/tfx/neural_structured_learning) - [Graph regularization for sentiment classification using synthesized graphs](https://www.tensorflow.org/neural_structured_learning/tutorials/graph_keras_lstm_imdb) |

<br />

<br />

<br />

| ## Fields ||
|---|---|
| `dtype` | Data type of input. |

<br />

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `dtype` | A `namedtuple` alias for field number 0 |

<br />