def get_dim(self, name):
        if name in (self._state_names + self._context_names +
                    self._glimpse_names):
            return self.transition.get_dim(name)
        if name == 'outputs':
            return self.readout.get_dim(name)
        if self.language_model and self._lm_state_names in name:
            return self.language_model.get_dim(name[3:])
        return super(BaseSequenceGenerator, self).get_dim(name)
dataset/ETHPy150Open rizar/attention-lvcsr/libs/blocks/blocks/bricks/sequence_generators.py/BaseSequenceGenerator.get_dim/swapped operands of `in`