TODO return Device instead of String in 0.19.0
214 215 216
# File 'lib/torch/tensor.rb', line 214 def device _device._str end