forked from LaurentMazare/tch-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
40 lines (32 loc) · 844 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[package]
name = "tch"
version = "0.1.7"
authors = ["Laurent Mazare <[email protected]>"]
edition = "2018"
description = "Rust wrappers for the PyTorch C++ api (libtorch)."
repository = "https://github.com/LaurentMazare/tch-rs"
keywords = ["pytorch", "deep-learning", "machine-learning"]
categories = ["science"]
license = "MIT/Apache-2.0"
readme = "README.md"
[dependencies]
lazy_static = "1.3.0"
libc = "0.2.0"
ndarray = "0.13"
rand = "0.7"
thiserror = "1"
torch-sys = { version = "0.1.7", path = "torch-sys" }
zip = "0.5"
cpython = { version = "0.2.0", optional = true }
[dev-dependencies]
anyhow = "1"
[workspace]
members = ["torch-sys"]
[features]
python = ["cpython"]
doc-only = ["torch-sys/doc-only"]
[package.metadata.docs.rs]
features = [ "doc-only" ]
[[example]]
name = "reinforcement-learning"
required-features = ["python"]