torch-rb 0.14.1 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +3 -6
- data/codegen/native_functions.yaml +357 -87
- data/ext/torch/extconf.rb +3 -0
- data/ext/torch/templates.h +0 -23
- data/ext/torch/tensor.cpp +1 -0
- data/ext/torch/utils.h +1 -1
- data/lib/torch/inspector.rb +8 -3
- data/lib/torch/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5cb7d8bf760b3f2a52976b0fda929cd7227a89ed7475b19a87cd9ce53ab5fe4e
|
4
|
+
data.tar.gz: 9977b9740c8490b4be11682dbd700bfe1175cf1f109e81412a694c4a4fd4a043
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb7283603fff1ad25fd234926abaeaafada2f0def3b5a52051242f3348445a5e4b615680f414d09c72a502c355fade701e79867444dd848c8dcd989f42359f19
|
7
|
+
data.tar.gz: bb41a341f271fb5bce47ad6e1a6ef223b6d7c01165a86de13681d25720c96d5a17de81e549439feedcf482c4e539083e3e04e97a768999438b939bc235fb652d
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -10,7 +10,7 @@ Check out:
|
|
10
10
|
- [TorchRec](https://github.com/ankane/torchrec-ruby) for recommendation systems
|
11
11
|
- [TorchData](https://github.com/ankane/torchdata-ruby) for data loading
|
12
12
|
|
13
|
-
[](https://github.com/ankane/torch.rb/actions)
|
14
14
|
|
15
15
|
## Installation
|
16
16
|
|
@@ -89,7 +89,7 @@ Each tensor has four properties
|
|
89
89
|
You can specify properties when creating a tensor
|
90
90
|
|
91
91
|
```ruby
|
92
|
-
Torch.rand(2, 3, dtype: :
|
92
|
+
Torch.rand(2, 3, dtype: :float64, layout: :strided, device: "cpu", requires_grad: true)
|
93
93
|
```
|
94
94
|
|
95
95
|
### Operations
|
@@ -410,13 +410,10 @@ Here’s the list of compatible versions.
|
|
410
410
|
|
411
411
|
Torch.rb | LibTorch
|
412
412
|
--- | ---
|
413
|
+
0.15.x | 2.2.x
|
413
414
|
0.14.x | 2.1.x
|
414
415
|
0.13.x | 2.0.x
|
415
416
|
0.12.x | 1.13.x
|
416
|
-
0.11.x | 1.12.x
|
417
|
-
0.10.x | 1.11.x
|
418
|
-
0.9.x | 1.10.x
|
419
|
-
0.8.x | 1.9.x
|
420
417
|
|
421
418
|
### Homebrew
|
422
419
|
|