def get_variables(self, collection=None): """Get TensorFlow variables that the random variable depends on.""" from edward.util.random_variables import get_variables return get_variables(self, collection)