# tf.compat.v1.data.experimental.TensorArrayStructure

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.0.0/tensorflow/python/data/util/structure.py#L52-L56) |

DEPRECATED FUNCTION

    tf.compat.v1.data.experimental.TensorArrayStructure(
        dtype, element_shape, dynamic_size, infer_shape
    )

> [!WARNING]
> **Warning:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use [`tf.TensorArraySpec`](https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/TensorArraySpec) instead.