{"id":80923,"library":"torch-rb","title":"Torch RB","description":"Deep learning for Ruby, powered by LibTorch.","status":"active","version":"0.24.0","language":"ruby","source_language":null,"source_url":"https://github.com/ankane/torch.rb","tags":["deep-learning","machine-learning","tensor","libtorch"],"install":[{"cmd":"gem install torch-rb","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'torch-rb', '~> 0.24.0'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"Torch","correct":"require 'torch-rb'"}],"quickstart":{"code":"require 'torch-rb'\nx = Torch.tensor([1, 2, 3])\nputs x","lang":"ruby","description":"Create a tensor and print it"},"warnings":[],"env_vars":null,"search_vec":"'deep':3,11 'deep-learn':10 'learn':4,12,15 'libtorch':9,17 'machin':14 'machine-learn':13 'power':7 'rb':2 'rubi':6 'tensor':16 'torch':1","created_at":"2026-06-18T05:38:50.738013+00:00","updated_at":"2026-06-18T05:38:50.738013+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/ankane/torch.rb","github":"https://github.com/ankane/torch.rb","docs":"http://www.rubydoc.info/gems/torch-rb/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}