Composing operators with transformer