torch-sys 0.18.0

Low-level FFI bindings for the PyTorch C++ api (libtorch).
Documentation
[build-dependencies.anyhow]
version = "^1.0.60"

[build-dependencies.cc]
version = "1.0.61"

[build-dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"

[build-dependencies.serde_json]
optional = true
version = "1.0"

[build-dependencies.ureq]
features = ["json"]
optional = true
version = "2.6"

[build-dependencies.zip]
version = "0.6"

[dependencies.libc]
version = "0.2.0"

[features]
doc-only = []
download-libtorch = ["ureq", "serde", "serde_json"]
python-extension = []

[lib]
name = "torch_sys"
path = "src/lib.rs"

[package]
authors = ["Laurent Mazare <lmazare@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "build.rs"
categories = ["external-ffi-bindings", "science"]
description = "Low-level FFI bindings for the PyTorch C++ api (libtorch)."
edition = "2021"
keywords = ["pytorch", "ffi", "deep-learning", "machine-learning"]
license = "MIT/Apache-2.0"
links = "tch"
name = "torch-sys"
readme = false
repository = "https://github.com/LaurentMazare/tch-rs"
version = "0.18.0"

[package.metadata.docs.rs]
features = ["doc-only"]