[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# tf.is_variable_initialized\n\n\u003cbr /\u003e\n\n|-------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/ops/variables.py#L3273-L3285) |\n\nTests if a variable has been initialized.\n\n#### View aliases\n\n\n**Compat aliases for migration**\n\nSee\n[Migration guide](https://www.tensorflow.org/guide/migrate) for\nmore details.\n\n[`tf.compat.v1.is_variable_initialized`](/api_docs/python/tf/compat/v1/is_variable_initialized)\n\n\u003cbr /\u003e\n\n tf.is_variable_initialized(\n variable\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|------------|---------------|\n| `variable` | A `Variable`. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| Returns a scalar boolean Tensor, `True` if the variable has been initialized, `False` otherwise. ||\n\n\u003cbr /\u003e\n\n| **Note:** The output of this function should be used. If it is not, a warning will be logged. To mark the output as used, call its .mark_used() method."]]