def sample(self, shape):
        if self.use_gpu:
            return self.sample_gpu(shape)
        else:
            return self.sample_cpu(shape)
Return a clause created by joining together the clauses of
dataset/ETHPy150Open pfnet/chainer/chainer/utils/walker_alias.py/WalkerAlias.sample--crossover with--dataset/ETHPy150Open beetbox/beets/beets/dbcore/query.py/CollectionQuery.clause_with_joiner