Solved by ptrblck in post #2 
              
              
                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 tut…