def __init__(self, **kwargs): super(TheanoBackend, self).__init__(**kwargs) self.rng = RandomStreams(self._seed) theano.config.floatX = _FLOATX