Docs.rs
tch-0.18.0
tch 0.18.0
Docs.rs crate page
MIT/Apache-2.0
Links
Repository
crates.io
Source
Owners
LaurentMazare
Dependencies
clap ^4.2.4
normal
optional
cpython ^0.7.1
normal
optional
half ^2
normal
image ^0.24.5
normal
optional
lazy_static ^1.3.0
normal
libc ^0.2.0
normal
memmap2 ^0.6.1
normal
optional
ndarray ^0.15
normal
rand ^0.8
normal
regex ^1.6.0
normal
optional
safetensors ^0.3.0
normal
serde_json ^1.0.96
normal
optional
thiserror ^1
normal
torch-sys ^0.18.0
normal
zip ^0.6
normal
anyhow ^1.0.60
dev
Versions
44.59%
of the crate is documented
Platform
i686-unknown-linux-gnu
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
tch
0.18.0
tch
Function
get_num_threads
Copy item path
source
pub fn get_num_threads() ->
i32
Expand description
Get the number of threads used by torch in parallel regions.