README.md in torch-rb-0.2.1 vs README.md in torch-rb-0.2.2
- old
+ new
@@ -424,10 +424,10 @@
```
Move a neural network to a GPU
```ruby
-net.to("cuda")
+net.cuda
```
## rbenv
This library uses [Rice](https://github.com/jasonroelofs/rice) to interface with LibTorch. Rice and earlier versions of rbenv don’t play nicely together. If you encounter an error during installation, upgrade ruby-build and reinstall your Ruby version.