tfds.testing.RaggedConstant

Container of tf.ragged.constant values.

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