<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/datasets/blob/v4.9.10/tensorflow_datasets/testing/feature_test_case.py#L153-L166) |

Container of tf.ragged.constant values.

    tfds.testing.RaggedConstant(
        *args, **kwargs
    )

This simple wrapper forward the arguments to delay the RaggedTensor
construction after `@run_in_graph_and_eager_modes` has been called.
This is required to avoid incompabilities between Graph/eager.

## Methods

### `build`

[View source](https://github.com/tensorflow/datasets/blob/v4.9.10/tensorflow_datasets/testing/feature_test_case.py#L165-L166)

    build()