get_model_variables

tfsnippet.get_model_variables(scope=None)

Get all model variables (i.e., variables in MODEL_VARIABLES collection).

Parameters:scope – If specified, will obtain variables only within this scope.
Returns:The model variables.
Return type:list[tf.Variable]