[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# tf.compat.v1.ragged.placeholder\n\n\u003cbr /\u003e\n\n|--------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.2.0/tensorflow/python/ops/ragged/ragged_factory_ops.py#L313-L346) |\n\nCreates a placeholder for a [`tf.RaggedTensor`](../../../../tf/RaggedTensor) that will always be fed. \n\n tf.compat.v1.ragged.placeholder(\n dtype, ragged_rank, value_shape=None, name=None\n )\n\n| **Key Point:** This ragged tensor will produce an error if evaluated. Its value must be fed using the `feed_dict` optional argument to `Session.run()`, [`Tensor.eval()`](/api_docs/python/tf/Tensor#eval), or [`Operation.run()`](/api_docs/python/tf/Operation#run).\n\n@compatibility{eager} Placeholders are not compatible with eager execution.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|---------------|-------------------------------------------------------------|\n| `dtype` | The data type for the `RaggedTensor`. |\n| `ragged_rank` | The ragged rank for the `RaggedTensor` |\n| `value_shape` | The shape for individual flat values in the `RaggedTensor`. |\n| `name` | A name for the operation (optional). |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| A `RaggedTensor` that may be used as a handle for feeding a value, but not evaluated directly. ||\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Raises ------ ||\n|----------------|-------------------------------|\n| `RuntimeError` | if eager execution is enabled |\n\n\u003cbr /\u003e"]]