8000 GitHub - smspillaz/torch-gobject: GObject bindings for Torch
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

smspillaz/torch-gobject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GObject Bindings for libtorch

Generated from Declarations.yaml

Requirements

Stability

Definitely not API-stable at all. Most of the API is autogenerated.

Some of the API depends on fixes to gobject-introspection, gjs and pygi

Usage

From GJS-flavour JavaScript:

const { GObject, GLib, Torch } = imports.gi;

const tensor = Torch.linspace_double(1.0, 10.0, 10);
log(tensor.get_tensor_data().deep_unpack());

Use PyTorch from JavaScript! Sort of useless at the moment.

Most of the ATen API is supported. The Torch NN API is not yet supported, but this is being worked on.

About

GObject bindings for Torch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0