def get_ancestors(self, collection=None): """Get ancestor random variables.""" from edward.util.random_variables import get_ancestors return get_ancestors(self, collection)