Solved by ptrblck in post #2 
              
              
                The current master branch supports a tuple for the scale_factor (line of code). 
Which PyTorch version are you using? 
It looks like @vishwakftw added this functionality in this PR.