def setUp(self): R = RandomStreams(234) weights = tensor.dvector() mus = tensor.dvector() sigmas = tensor.dvector() draw_shape = tensor.ivector() xsca = R.GMM1(weights, mus, sigmas, draw_shape=draw_shape, ndim=0) xvec = R.GMM1(weights, mus, sigmas, draw_shape=draw_shape, ndim=1) xmat = R.GMM1(weights, mus, sigmas, draw_shape=draw_shape, ndim=2) self.__dict__.update(locals()) del self.self