If you have already imported the Variable class, you won’t need to use the torch namespace before it.
However, since Variables are deprecated since 0.4.0, you should completely skip this step and just use tensors.