Hi, I wanted to let the community know that there are now Ruby bindings 15 for LibTorch. Here’s a short example:
x = Torch.ones(2, 2, requires_grad: true)
y = x + 2
z = y * y * 3
out = z.mean
out.backward
p x.grad

If you have any feedback, feel free to create an issue in the project for it. Thanks!