There is no difference.
One is the module interface (nn.ConvTranspose2d), while the other is the functional interface.
Also, note that nn.ConvTranspose2d uses functional.conv_transpose2d internally 95, and the module interface is simply a convenience interface that creates the weights and biases for you