# Dimensional transformation

How do you know a series of dimension transformations such as dimension exchange in decoder_inputs = decoder_inputs.transpose(1, 2)? why, on what basis