Docs.rs
tch-plus-0.18.3
tch-plus 0.18.3
Permalink
Docs.rs crate page
MIT
/
Apache-2.0
Links
Repository
crates.io
Source
Owners
jacksors
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-plus ^0.18.2
normal
zip ^0.6
normal
anyhow ^1.0.60
dev
Versions
37.34%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Shape
tch_
plus
0.18.3
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
In crate tch_
plus
tch_plus
Trait
Shape
Copy item path
Source
pub trait Shape { // Required method fn
to_shape
(&self) ->
Box
<[
i64
]>; }
Required Methods
§
Source
fn
to_shape
(&self) ->
Box
<[
i64
]>
Implementations on Foreign Types
§
Source
§
impl
Shape
for &[
i64
]
Source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
Source
§
impl
Shape
for (
i64
,
i64
)
Source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
Source
§
impl
Shape
for (
i64
,
i64
,
i64
)
Source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
Source
§
impl
Shape
for (
i64
,
i64
,
i64
,
i64
)
Source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
Source
§
impl
Shape
for (
i64
,)
Source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
Source
§
impl
Shape
for
i32
Source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
Source
§
impl
Shape
for
i64
Source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
Source
§
impl
Shape
for
()
Source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
Source
§
impl
Shape
for
usize
Source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
Source
§
impl
Shape
for [
i64
;
0
]
Source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
Source
§
impl
Shape
for [
i64
;
1
]
Source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
Source
§
impl
Shape
for [
i64
;
2
]
Source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
Source
§
impl
Shape
for [
i64
;
3
]
Source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
Source
§
impl
Shape
for [
i64
;
4
]
Source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
Source
§
impl
Shape
for [
i64
;
5
]
Source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
Source
§
impl
Shape
for [
i64
;
6
]
Source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
Implementors
§