get_uninitialized_variables

tfsnippet.utils.get_uninitialized_variables(variables=None, name=None)

Get uninitialized variables as a list.

Parameters:
  • variables (list[tf.Variable]) – Collect only uninitialized variables within this list. If not specified, will collect all uninitialized variables within tf.GraphKeys.GLOBAL_VARIABLES collection.
  • name (str) – TensorFlow name scope of the graph nodes.
Returns:

Uninitialized variables.

Return type:

list[tf.Variable]