def init_r(self, r):
        '''Register r's shape in the shape_of dictionary.'''
        if self.shape_of not in r:
            try:
                self.set_shape(r, self.shape_tuple(r))
            except AttributeError:  # XXX: where would this come from?
                self.set_shape(r, None)
dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/tensor/opt.py/ShapeFeature.init_r/swapped operands of `not in`