Docs.rs
tch-0.6.1
tch 0.6.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.15
normal
rand ^0.8
normal
thiserror ^1
normal
torch-sys ^0.6.1
normal
zip ^0.5
normal
anyhow ^1
dev
Versions
41.77%
of the crate is documented
Go to latest version
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
☰
Trait Shape
Required Methods
to_shape
Implementations on Foreign Types
&[i64]
()
(i64, i64)
(i64, i64, i64)
(i64, i64, i64, i64)
(i64,)
[i64; 0]
[i64; 1]
[i64; 2]
[i64; 3]
[i64; 4]
[i64; 5]
[i64; 6]
i32
i64
usize
Implementors
Other items in
tch
?
Trait
tch
::
Shape
[
−
]
[src]
pub trait Shape { fn
to_shape
(&self) ->
Box
<
[
i64
]
>; }
Required methods
[src]
fn
to_shape
(&self) ->
Box
<
[
i64
]
>
Implementations on Foreign Types
[src]
impl
Shape
for
[
i64
; 0]
[src]
fn
to_shape
(&self) ->
Box
<
[
i64
]
>
[src]
impl
Shape
for
[
i64
; 1]
[src]
fn
to_shape
(&self) ->
Box
<
[
i64
]
>
[src]
impl
Shape
for
[
i64
; 2]
[src]
fn
to_shape
(&self) ->
Box
<
[
i64
]
>
[src]
impl
Shape
for
[
i64
; 3]
[src]
fn
to_shape
(&self) ->
Box
<
[
i64
]
>
[src]
impl
Shape
for
[
i64
; 4]
[src]
fn
to_shape
(&self) ->
Box
<
[
i64
]
>
[src]
impl
Shape
for
[
i64
; 5]
[src]
fn
to_shape
(&self) ->
Box
<
[
i64
]
>
[src]
impl
Shape
for
[
i64
; 6]
[src]
fn
to_shape
(&self) ->
Box
<
[
i64
]
>
[src]
impl
Shape
for
()
[src]
fn
to_shape
(&self) ->
Box
<
[
i64
]
>
[src]
impl
Shape
for
&[
i64
]
[src]
fn
to_shape
(&self) ->
Box
<
[
i64
]
>
[src]
impl
Shape
for
i64
[src]
fn
to_shape
(&self) ->
Box
<
[
i64
]
>
[src]
impl
Shape
for
usize
[src]
fn
to_shape
(&self) ->
Box
<
[
i64
]
>
[src]
impl
Shape
for
i32
[src]
fn
to_shape
(&self) ->
Box
<
[
i64
]
>
[src]
impl
Shape
for
(
i64
,)
[src]
fn
to_shape
(&self) ->
Box
<
[
i64
]
>
[src]
impl
Shape
for
(
i64
,
i64
)
[src]
fn
to_shape
(&self) ->
Box
<
[
i64
]
>
[src]
impl
Shape
for
(
i64
,
i64
,
i64
)
[src]
fn
to_shape
(&self) ->
Box
<
[
i64
]
>
[src]
impl
Shape
for
(
i64
,
i64
,
i64
,
i64
)
[src]
fn
to_shape
(&self) ->
Box
<
[
i64
]
>
Implementors