'Gets names of all the variables in the graph belonging to this model.
Returns:
List of variable names.'

def variables(self):

    with self.graph.as_default():
        return [v for v in tf.global_variables() if v.name.startswith(self.scope)]
