[null,null,["Last updated 2024-04-26 UTC."],[],[],null,["# tf.compat.v1.is_variable_initialized\n\n\u003cbr /\u003e\n\n|-----------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.16.1/tensorflow/python/ops/variable_v1.py#L24-L40) |\n\nTests if a variable has been initialized. \n\n tf.compat.v1.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 or an error may be raised. To mark the output as used, call its .mark_used() method."]]