If you are using 1.4.0, you would have to change the code to torch:nn:ConvTranspose{1,2,3}d.
From the release notes:
If users have transposed originally set to true in torch::nn::Conv{1,2,3}dOptions , they should migrate their code to use torch::nn::ConvTranspose{1,2,3}d layers instead.
The tutorial should be updated.
CC @yf225 Do you know, whom to ping?