Docs.rs
tch-0.2.1
tch 0.2.1
Docs.rs crate page
MIT/Apache-2.0
Links
Repository
crates.io
Source
Owners
LaurentMazare
Dependencies
cpython ^0.2.0
normal
half ^1.6
normal
lazy_static ^1.3.0
normal
libc ^0.2.0
normal
ndarray ^0.13
normal
rand ^0.7
normal
thiserror ^1
normal
torch-sys ^0.2.1
normal
zip ^0.5
normal
anyhow ^1
dev
Versions
41.64%
of the crate is documented
Go to latest version
Platform
i686-unknown-linux-gnu
x86_64-apple-darwin
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
::
nn
?
[
−
]
[src]
Function
tch
::
nn
::
func
pub fn func<'a, F>(f: F) ->
Func
<'a>
where
F: 'a +
Fn
(&
Tensor
) ->
Tensor
+
Send
,