In the source code, there is float(scale_factor),but the document supports tuple.
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.